diff --git a/.github/workflows/buildtest.yaml b/.github/workflows/buildtest.yaml
index f37e0e162..26d585ec7 100644
--- a/.github/workflows/buildtest.yaml
+++ b/.github/workflows/buildtest.yaml
@@ -8,32 +8,28 @@ jobs:
os: [ubuntu-latest, windows-latest, macOS-latest]
name: Dotnet build
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup dotnet
- uses: actions/setup-dotnet@v4
+ uses: actions/setup-dotnet@v5
with:
dotnet-version: |
- 6.0.x
8.0.x
- # - name: Check Format
- # # don't check formatting on Windows b/c of CRLF issues.
- # if: matrix.os == 'ubuntu-latest'
- # run: dotnet format --severity error --verify-no-changes --exclude ./src/KubernetesClient/generated/
+ 9.0.x
- name: Build
- run: dotnet build --configuration Release -v detailed
+ run: dotnet build --configuration Release
- name: Test
run: dotnet test --configuration Release --collect:"Code Coverage;Format=Cobertura" --logger trx --results-directory TestResults --settings CodeCoverage.runsettings --no-build
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v4
+ uses: codecov/codecov-action@v5
with:
directory: ./TestResults
files: '*.cobertura.xml'
- name: Upload test results
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v5
with:
- name: test-results
+ name: test-results-${{ matrix.os }}
path: ./TestResults
if: ${{ always() }} # Always run this step even on failure
@@ -42,15 +38,15 @@ jobs:
runs-on: windows-latest
name: MSBuild build
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Setup dotnet SDK
- uses: actions/setup-dotnet@v4
+ uses: actions/setup-dotnet@v5
with:
- dotnet-version: '8.0.x'
+ dotnet-version: '9.0.x'
- name: Restore nugets (msbuild)
run: msbuild .\src\KubernetesClient\ -t:restore -p:RestorePackagesConfig=true
- name: Build (msbuild)
@@ -59,21 +55,21 @@ jobs:
e2e:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup dotnet
- uses: actions/setup-dotnet@v4
+ uses: actions/setup-dotnet@v5
with:
dotnet-version: |
- 6.0.x
8.0.x
+ 9.0.x
- name: Minikube
run: minikube start
- name: Test
run: |
true > skip.log
- env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Tests --logger "SkipTestLogger;file=$PWD/skip.log"
+ env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Tests --logger "SkipTestLogger;file=$PWD/skip.log" -p:BuildInParallel=false
if [ -s skip.log ]; then
cat skip.log
echo "CASES MUST NOT BE SKIPPED"
@@ -82,7 +78,7 @@ jobs:
- name: AOT Test
run: |
true > skip.log
- env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Aot.Tests --logger "SkipTestLogger;file=$PWD/skip.log"
+ env K8S_E2E_MINIKUBE=1 dotnet test tests/E2E.Aot.Tests --logger "SkipTestLogger;file=$PWD/skip.log" -p:BuildInParallel=false
if [ -s skip.log ]; then
cat skip.log
echo "CASES MUST NOT BE SKIPPED"
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 82c9560ce..6355396eb 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -17,7 +17,7 @@ on:
jobs:
analyze:
name: Analyze
- runs-on: windows-2019
+ runs-on: windows-2022
strategy:
fail-fast: false
@@ -26,20 +26,20 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup dotnet
- uses: actions/setup-dotnet@v4
+ uses: actions/setup-dotnet@v5
with:
dotnet-version: |
- 6.0.x
8.0.x
+ 9.0.x
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v3
+ uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -59,4 +59,4 @@ jobs:
run: dotnet build --configuration Debug --no-restore
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@v3
+ uses: github/codeql-action/analyze@v4
diff --git a/.github/workflows/docfx.yaml b/.github/workflows/docfx.yaml
index 00db8dc88..3eec06ec3 100644
--- a/.github/workflows/docfx.yaml
+++ b/.github/workflows/docfx.yaml
@@ -25,21 +25,21 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup dotnet
- uses: actions/setup-dotnet@v4
+ uses: actions/setup-dotnet@v5
with:
dotnet-version: |
- 6.0.x
8.0.x
+ 9.0.x
- name: Build
run: dotnet build -c Release
- - uses: nunit/docfx-action@v3.4.1
+ - uses: nunit/docfx-action@v4.1.0
name: Build Documentation
with:
args: doc/docfx.json
@@ -47,7 +47,7 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
- uses: actions/upload-pages-artifact@v3
+ uses: actions/upload-pages-artifact@v4
with:
# Upload entire repository
path: doc/_site
diff --git a/.github/workflows/draft.yaml b/.github/workflows/draft.yaml
index 39f1ce94e..01b098518 100644
--- a/.github/workflows/draft.yaml
+++ b/.github/workflows/draft.yaml
@@ -13,16 +13,16 @@ jobs:
runs-on: windows-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup dotnet
- uses: actions/setup-dotnet@v4
+ uses: actions/setup-dotnet@v5
with:
dotnet-version: |
- 6.0.x
8.0.x
+ 9.0.x
- name: dotnet restore
run: dotnet restore --verbosity minimal --configfile nuget.config
diff --git a/.github/workflows/nuget.yaml b/.github/workflows/nuget.yaml
index af5829007..fa654822f 100644
--- a/.github/workflows/nuget.yaml
+++ b/.github/workflows/nuget.yaml
@@ -10,16 +10,16 @@ jobs:
runs-on: windows-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup dotnet
- uses: actions/setup-dotnet@v4
+ uses: actions/setup-dotnet@v5
with:
dotnet-version: |
- 6.0.x
8.0.x
+ 9.0.x
- name: dotnet restore
run: dotnet restore --verbosity minimal --configfile nuget.config
diff --git a/Directory.Build.props b/Directory.Build.props
index 10ec5bf39..3d3e1cfce 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -26,7 +26,7 @@
snupkg
true
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
- 11.0
+ 13.0
diff --git a/Directory.Packages.props b/Directory.Packages.props
index 67df46d62..27783a77c 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -1,54 +1,54 @@
-
-
- true
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 6111f5c59..c8eb91626 100644
--- a/README.md
+++ b/README.md
@@ -154,7 +154,11 @@ ${GEN_DIR}/openapi/csharp.sh ${REPO_DIR}/src/KubernetesClient ${REPO_DIR}/csharp
| SDK Version | Kubernetes Version | .NET Targeting |
|-------------|--------------------|-----------------------------------------------------|
-| 14.0 | 1.30 | net6.0;net8.0;net48*;netstandard2.0* |
+| 18.0 | 1.34 | net8.0;net9.0;net48*;netstandard2.0* |
+| 17.0 | 1.33 | net8.0;net9.0;net48*;netstandard2.0* |
+| 16.0 | 1.32 | net8.0;net9.0;net48*;netstandard2.0* |
+| 15.0 | 1.31 | net6.0;net8.0;net48*;netstandard2.0* |
+| 14.0 | 1.30 | net6.0;net8.0;net48*;netstandard2.0* |
| 13.0 | 1.29 | net6.0;net7.0;net8.0;net48*;netstandard2.0* |
| 12.0 | 1.28 | net6.0;net7.0;net48*;netstandard2.0* |
| 11.0 | 1.27 | net6.0;net7.0;net48*;netstandard2.0* |
diff --git a/SECURITY_CONTACTS b/SECURITY_CONTACTS
index d22538052..df0df1c5f 100644
--- a/SECURITY_CONTACTS
+++ b/SECURITY_CONTACTS
@@ -11,3 +11,4 @@
# INSTRUCTIONS AT https://kubernetes.io/security/
brendandburns
+tg123
diff --git a/csharp.settings b/csharp.settings
index 979aadae8..0110958c8 100644
--- a/csharp.settings
+++ b/csharp.settings
@@ -1,3 +1,3 @@
-export KUBERNETES_BRANCH=v1.30.0
+export KUBERNETES_BRANCH=v1.34.0
export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s
diff --git a/doc/CONTRIBUTING.md b/doc/CONTRIBUTING.md
new file mode 120000
index 000000000..44fcc6343
--- /dev/null
+++ b/doc/CONTRIBUTING.md
@@ -0,0 +1 @@
+../CONTRIBUTING.md
\ No newline at end of file
diff --git a/doc/docfx.json b/doc/docfx.json
index 9ba72e4c4..2917802e6 100644
--- a/doc/docfx.json
+++ b/doc/docfx.json
@@ -4,7 +4,7 @@
"src": [
{
"files": [
- "KubernetesClient/KubernetesClient.csproj"
+ "KubernetesClient/bin/Release/net8.0/KubernetesClient.dll"
],
"src": "../src"
}
@@ -20,6 +20,7 @@
"files": [
"api/**.yml",
"index.md",
+ "CONTRIBUTING.md",
"toc.yml"
]
}
diff --git a/examples/Directory.Build.props b/examples/Directory.Build.props
index edc5738f1..b87fe6aaa 100644
--- a/examples/Directory.Build.props
+++ b/examples/Directory.Build.props
@@ -1,6 +1,7 @@
+
- net8.0
+ net9.0
diff --git a/examples/Directory.Build.targets b/examples/Directory.Build.targets
index 65c630b6d..bf5f5ee49 100644
--- a/examples/Directory.Build.targets
+++ b/examples/Directory.Build.targets
@@ -1,4 +1,5 @@
+
diff --git a/examples/attach/Attach.cs b/examples/attach/Attach.cs
index a53b5da56..cfdce7d8e 100755
--- a/examples/attach/Attach.cs
+++ b/examples/attach/Attach.cs
@@ -3,38 +3,29 @@
using System;
using System.Threading.Tasks;
-namespace attach
-{
- internal class Attach
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- var pod = list.Items[0];
- await AttachToPod(client, pod).ConfigureAwait(false);
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+var pod = list.Items[0];
+await AttachToPod(client, pod).ConfigureAwait(false);
- private static async Task AttachToPod(IKubernetes client, V1Pod pod)
- {
- var webSocket =
- await client.WebSocketNamespacedPodAttachAsync(pod.Metadata.Name, "default",
- pod.Spec.Containers[0].Name).ConfigureAwait(false);
+async Task AttachToPod(IKubernetes client, V1Pod pod)
+{
+ var webSocket =
+ await client.WebSocketNamespacedPodAttachAsync(pod.Metadata.Name, "default",
+ pod.Spec.Containers[0].Name).ConfigureAwait(false);
- var demux = new StreamDemuxer(webSocket);
- demux.Start();
+ var demux = new StreamDemuxer(webSocket);
+ demux.Start();
- var buff = new byte[4096];
- var stream = demux.GetStream(1, 1);
- while (true)
- {
- var read = stream.Read(buff, 0, 4096);
- var str = System.Text.Encoding.Default.GetString(buff);
- Console.WriteLine(str);
- }
- }
+ var buff = new byte[4096];
+ var stream = demux.GetStream(1, 1);
+ while (true)
+ {
+ var read = stream.Read(buff, 0, 4096);
+ var str = System.Text.Encoding.Default.GetString(buff);
+ Console.WriteLine(str);
}
}
diff --git a/examples/clientset/Program.cs b/examples/clientset/Program.cs
new file mode 100644
index 000000000..a1b74e0f8
--- /dev/null
+++ b/examples/clientset/Program.cs
@@ -0,0 +1,32 @@
+using k8s;
+using k8s.Models;
+using k8s.ClientSets;
+using System.Threading.Tasks;
+
+namespace clientset
+{
+ internal class Program
+ {
+ private static async Task Main(string[] args)
+ {
+ var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+ var client = new Kubernetes(config);
+
+ var clientSet = new ClientSet(client);
+ var list = await clientSet.CoreV1.Pod.ListAsync("default").ConfigureAwait(false);
+ foreach (var item in list)
+ {
+ System.Console.WriteLine(item.Metadata.Name);
+ }
+
+ var pod = await clientSet.CoreV1.Pod.GetAsync("test", "default").ConfigureAwait(false);
+ System.Console.WriteLine(pod?.Metadata?.Name);
+
+ var watch = clientSet.CoreV1.Pod.WatchListAsync("default");
+ await foreach (var (_, item) in watch.ConfigureAwait(false))
+ {
+ System.Console.WriteLine(item.Metadata.Name);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/examples/clientset/clientset.csproj b/examples/clientset/clientset.csproj
new file mode 100644
index 000000000..4274ceb02
--- /dev/null
+++ b/examples/clientset/clientset.csproj
@@ -0,0 +1,6 @@
+
+
+ Exe
+
+
+
diff --git a/examples/cp/Cp.cs b/examples/cp/Cp.cs
index b7dd5b207..43e769490 100644
--- a/examples/cp/Cp.cs
+++ b/examples/cp/Cp.cs
@@ -1,4 +1,4 @@
-using ICSharpCode.SharpZipLib.Tar;
+using ICSharpCode.SharpZipLib.Tar;
using k8s;
using System;
using System.IO;
@@ -7,110 +7,104 @@
using System.Threading;
using System.Threading.Tasks;
-namespace cp
-{
- internal class Cp
- {
- private static IKubernetes client;
+namespace cp;
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- client = new Kubernetes(config);
+internal class Cp
+{
+ private static IKubernetes client;
+ private static async Task Main(string[] args)
+ {
+ var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+ client = new Kubernetes(config);
- var pods = client.CoreV1.ListNamespacedPod("default", null, null, null, $"job-name=upload-demo");
- var pod = pods.Items.First();
- await CopyFileToPodAsync(pod.Metadata.Name, "default", "upload-demo", args[0], $"home/{args[1]}");
+ var pods = client.CoreV1.ListNamespacedPod("default", null, null, null, $"job-name=upload-demo");
+ var pod = pods.Items.First();
- }
+ await CopyFileToPodAsync(pod.Metadata.Name, "default", "upload-demo", args[0], $"home/{args[1]}").ConfigureAwait(false);
+ }
- private static void ValidatePathParameters(string sourcePath, string destinationPath)
+ private static void ValidatePathParameters(string sourcePath, string destinationPath)
+ {
+ if (string.IsNullOrWhiteSpace(sourcePath))
{
- if (string.IsNullOrWhiteSpace(sourcePath))
- {
- throw new ArgumentException($"{nameof(sourcePath)} cannot be null or whitespace");
- }
-
- if (string.IsNullOrWhiteSpace(destinationPath))
- {
- throw new ArgumentException($"{nameof(destinationPath)} cannot be null or whitespace");
- }
-
+ throw new ArgumentException($"{nameof(sourcePath)} cannot be null or whitespace");
}
- public static async Task CopyFileToPodAsync(string name, string @namespace, string container, string sourceFilePath, string destinationFilePath, CancellationToken cancellationToken = default(CancellationToken))
+ if (string.IsNullOrWhiteSpace(destinationPath))
{
- // All other parameters are being validated by MuxedStreamNamespacedPodExecAsync called by NamespacedPodExecAsync
- ValidatePathParameters(sourceFilePath, destinationFilePath);
+ throw new ArgumentException($"{nameof(destinationPath)} cannot be null or whitespace");
+ }
+ }
+
+ public static async Task CopyFileToPodAsync(string name, string @namespace, string container, string sourceFilePath, string destinationFilePath, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ // All other parameters are being validated by MuxedStreamNamespacedPodExecAsync called by NamespacedPodExecAsync
+ ValidatePathParameters(sourceFilePath, destinationFilePath);
- // The callback which processes the standard input, standard output and standard error of exec method
- var handler = new ExecAsyncCallback(async (stdIn, stdOut, stdError) =>
+ // The callback which processes the standard input, standard output and standard error of exec method
+ var handler = new ExecAsyncCallback(async (stdIn, stdOut, stdError) =>
+ {
+ var fileInfo = new FileInfo(destinationFilePath);
+ try
{
- var fileInfo = new FileInfo(destinationFilePath);
- try
+ using (var memoryStream = new MemoryStream())
{
- using (var memoryStream = new MemoryStream())
+ using (var inputFileStream = File.OpenRead(sourceFilePath))
+ using (var tarOutputStream = new TarOutputStream(memoryStream, Encoding.Default))
{
- using (var inputFileStream = File.OpenRead(sourceFilePath))
- using (var tarOutputStream = new TarOutputStream(memoryStream, Encoding.Default))
- {
- tarOutputStream.IsStreamOwner = false;
-
- var fileSize = inputFileStream.Length;
- var entry = TarEntry.CreateTarEntry(fileInfo.Name);
-
- entry.Size = fileSize;
+ tarOutputStream.IsStreamOwner = false;
- tarOutputStream.PutNextEntry(entry);
- await inputFileStream.CopyToAsync(tarOutputStream);
- tarOutputStream.CloseEntry();
- }
+ var fileSize = inputFileStream.Length;
+ var entry = TarEntry.CreateTarEntry(fileInfo.Name);
- memoryStream.Position = 0;
+ entry.Size = fileSize;
- await memoryStream.CopyToAsync(stdIn);
- await stdIn.FlushAsync();
+ tarOutputStream.PutNextEntry(entry);
+ await inputFileStream.CopyToAsync(tarOutputStream).ConfigureAwait(false);
+ tarOutputStream.CloseEntry();
}
- }
- catch (Exception ex)
- {
- throw new IOException($"Copy command failed: {ex.Message}");
- }
+ memoryStream.Position = 0;
- using StreamReader streamReader = new StreamReader(stdError);
- while (streamReader.EndOfStream == false)
- {
- string error = await streamReader.ReadToEndAsync();
- throw new IOException($"Copy command failed: {error}");
+ await memoryStream.CopyToAsync(stdIn).ConfigureAwait(false);
+ await stdIn.FlushAsync().ConfigureAwait(false);
}
- });
-
- string destinationFolder = GetFolderName(destinationFilePath);
-
- return await client.NamespacedPodExecAsync(
- name,
- @namespace,
- container,
- new string[] { "sh", "-c", $"tar xmf - -C {destinationFolder}" },
- false,
- handler,
- cancellationToken);
- }
-
+ }
+ catch (Exception ex)
+ {
+ throw new IOException($"Copy command failed: {ex.Message}");
+ }
- private static string GetFolderName(string filePath)
- {
- var folderName = Path.GetDirectoryName(filePath);
+ using StreamReader streamReader = new StreamReader(stdError);
+ while (streamReader.EndOfStream == false)
+ {
+ string error = await streamReader.ReadToEndAsync().ConfigureAwait(false);
+ throw new IOException($"Copy command failed: {error}");
+ }
+ });
+
+ string destinationFolder = GetFolderName(destinationFilePath);
+
+ return await client.NamespacedPodExecAsync(
+ name,
+ @namespace,
+ container,
+ new string[] { "sh", "-c", $"tar xmf - -C {destinationFolder}" },
+ false,
+ handler,
+ cancellationToken).ConfigureAwait(false);
+ }
- return string.IsNullOrEmpty(folderName) ? "." : folderName;
- }
+ private static string GetFolderName(string filePath)
+ {
+ var folderName = Path.GetDirectoryName(filePath);
+ return string.IsNullOrEmpty(folderName) ? "." : folderName;
}
}
diff --git a/examples/csrApproval/Program.cs b/examples/csrApproval/Program.cs
index b4f154864..6c374105b 100644
--- a/examples/csrApproval/Program.cs
+++ b/examples/csrApproval/Program.cs
@@ -1,4 +1,4 @@
-using Json.Patch;
+using Json.Patch;
using k8s;
using k8s.Models;
using System.Net;
@@ -21,7 +21,7 @@ string GenerateCertificate(string name)
var request = new CertificateRequest(distinguishedName, rsa, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.DataEncipherment | X509KeyUsageFlags.KeyEncipherment | X509KeyUsageFlags.DigitalSignature, false));
- request.CertificateExtensions.Add(new X509EnhancedKeyUsageExtension(new OidCollection { new("1.3.6.1.5.5.7.3.1") }, false));
+ request.CertificateExtensions.Add(new X509EnhancedKeyUsageExtension([new ("1.3.6.1.5.5.7.3.1")], false));
request.CertificateExtensions.Add(sanBuilder.Build());
var csr = request.CreateSigningRequest();
var pemKey = "-----BEGIN CERTIFICATE REQUEST-----\r\n" +
@@ -44,34 +44,42 @@ string GenerateCertificate(string name)
Kind = "CertificateSigningRequest",
Metadata = new V1ObjectMeta
{
- Name = name
+ Name = name,
},
Spec = new V1CertificateSigningRequestSpec
{
Request = encodedCsr,
SignerName = "kubernetes.io/kube-apiserver-client",
Usages = new List { "client auth" },
- ExpirationSeconds = 600 // minimum should be 10 minutes
- }
+ ExpirationSeconds = 600, // minimum should be 10 minutes
+ },
};
-await client.CertificatesV1.CreateCertificateSigningRequestAsync(request);
+await client.CertificatesV1.CreateCertificateSigningRequestAsync(request).ConfigureAwait(false);
var serializeOptions = new JsonSerializerOptions
{
PropertyNamingPolicy = JsonNamingPolicy.CamelCase,
- WriteIndented = true
+ WriteIndented = true,
};
-var readCert = await client.CertificatesV1.ReadCertificateSigningRequestAsync(name);
+var readCert = await client.CertificatesV1.ReadCertificateSigningRequestAsync(name).ConfigureAwait(false);
var old = JsonSerializer.SerializeToDocument(readCert, serializeOptions);
var replace = new List
{
- new("True", "Approved", DateTime.UtcNow, DateTime.UtcNow, "This certificate was approved by k8s client", "Approve")
+ new V1CertificateSigningRequestCondition
+ {
+ Type = "Approved",
+ Status = "True",
+ Reason = "Approve",
+ Message = "This certificate was approved by k8s client",
+ LastUpdateTime = DateTime.UtcNow,
+ LastTransitionTime = DateTime.UtcNow,
+ },
};
readCert.Status.Conditions = replace;
var expected = JsonSerializer.SerializeToDocument(readCert, serializeOptions);
var patch = old.CreatePatch(expected);
-await client.CertificatesV1.PatchCertificateSigningRequestApprovalAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name);
+await client.CertificatesV1.PatchCertificateSigningRequestApprovalAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name).ConfigureAwait(false);
diff --git a/examples/customResource/cResource.cs b/examples/customResource/cResource.cs
index f9df60b22..67440aee9 100644
--- a/examples/customResource/cResource.cs
+++ b/examples/customResource/cResource.cs
@@ -19,13 +19,13 @@ public override string ToString()
}
}
- public class CResourceSpec
+ public record CResourceSpec
{
[JsonPropertyName("cityName")]
public string CityName { get; set; }
}
- public class CResourceStatus : V1Status
+ public record CResourceStatus : V1Status
{
[JsonPropertyName("temperature")]
public string Temperature { get; set; }
diff --git a/examples/exec/Exec.cs b/examples/exec/Exec.cs
index 9fdfc73b0..20bbd2125 100755
--- a/examples/exec/Exec.cs
+++ b/examples/exec/Exec.cs
@@ -3,35 +3,26 @@
using System;
using System.Threading.Tasks;
-namespace exec
-{
- internal class Exec
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- var pod = list.Items[0];
- await ExecInPod(client, pod).ConfigureAwait(false);
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+var pod = list.Items[0];
+await ExecInPod(client, pod).ConfigureAwait(false);
- private static async Task ExecInPod(IKubernetes client, V1Pod pod)
- {
- var webSocket =
- await client.WebSocketNamespacedPodExecAsync(pod.Metadata.Name, "default", "ls",
- pod.Spec.Containers[0].Name).ConfigureAwait(false);
+async Task ExecInPod(IKubernetes client, V1Pod pod)
+{
+ var webSocket =
+ await client.WebSocketNamespacedPodExecAsync(pod.Metadata.Name, "default", "ls",
+ pod.Spec.Containers[0].Name).ConfigureAwait(false);
- var demux = new StreamDemuxer(webSocket);
- demux.Start();
+ var demux = new StreamDemuxer(webSocket);
+ demux.Start();
- var buff = new byte[4096];
- var stream = demux.GetStream(1, 1);
- var read = stream.Read(buff, 0, 4096);
- var str = System.Text.Encoding.Default.GetString(buff);
- Console.WriteLine(str);
- }
- }
+ var buff = new byte[4096];
+ var stream = demux.GetStream(1, 1);
+ var read = stream.Read(buff, 0, 4096);
+ var str = System.Text.Encoding.Default.GetString(buff);
+ Console.WriteLine(str);
}
diff --git a/examples/generic/Generic.cs b/examples/generic/Generic.cs
index 41f91b39f..f65fb944d 100644
--- a/examples/generic/Generic.cs
+++ b/examples/generic/Generic.cs
@@ -1,26 +1,16 @@
using k8s;
using k8s.Models;
using System;
-using System.Threading.Tasks;
-namespace exec
-{
- internal class Generic
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- var generic = new GenericClient(client, "", "v1", "nodes");
- var node = await generic.ReadAsync("kube0").ConfigureAwait(false);
- Console.WriteLine(node.Metadata.Name);
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+var generic = new GenericClient(client, "", "v1", "nodes");
+var node = await generic.ReadAsync("kube0").ConfigureAwait(false);
+Console.WriteLine(node.Metadata.Name);
- var genericPods = new GenericClient(client, "", "v1", "pods");
- var pods = await genericPods.ListNamespacedAsync("default").ConfigureAwait(false);
- foreach (var pod in pods.Items)
- {
- Console.WriteLine(pod.Metadata.Name);
- }
- }
- }
+var genericPods = new GenericClient(client, "", "v1", "pods");
+var pods = await genericPods.ListNamespacedAsync("default").ConfigureAwait(false);
+foreach (var pod in pods.Items)
+{
+ Console.WriteLine(pod.Metadata.Name);
}
diff --git a/examples/labels/PodList.cs b/examples/labels/PodList.cs
index 2d59e9026..0c5df001d 100755
--- a/examples/labels/PodList.cs
+++ b/examples/labels/PodList.cs
@@ -2,47 +2,38 @@
using System;
using System.Collections.Generic;
-namespace simple
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
+
+var list = client.CoreV1.ListNamespacedService("default");
+foreach (var item in list.Items)
{
- internal class PodList
+ Console.WriteLine("Pods for service: " + item.Metadata.Name);
+ Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
+ if (item.Spec == null || item.Spec.Selector == null)
{
- private static void Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
-
- var list = client.CoreV1.ListNamespacedService("default");
- foreach (var item in list.Items)
- {
- Console.WriteLine("Pods for service: " + item.Metadata.Name);
- Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
- if (item.Spec == null || item.Spec.Selector == null)
- {
- continue;
- }
-
- var labels = new List();
- foreach (var key in item.Spec.Selector)
- {
- labels.Add(key.Key + "=" + key.Value);
- }
+ continue;
+ }
- var labelStr = string.Join(",", labels.ToArray());
- Console.WriteLine(labelStr);
- var podList = client.CoreV1.ListNamespacedPod("default", labelSelector: labelStr);
- foreach (var pod in podList.Items)
- {
- Console.WriteLine(pod.Metadata.Name);
- }
+ var labels = new List();
+ foreach (var key in item.Spec.Selector)
+ {
+ labels.Add(key.Key + "=" + key.Value);
+ }
- if (podList.Items.Count == 0)
- {
- Console.WriteLine("Empty!");
- }
+ var labelStr = string.Join(",", labels.ToArray());
+ Console.WriteLine(labelStr);
+ var podList = client.CoreV1.ListNamespacedPod("default", labelSelector: labelStr);
+ foreach (var pod in podList.Items)
+ {
+ Console.WriteLine(pod.Metadata.Name);
+ }
- Console.WriteLine();
- }
- }
+ if (podList.Items.Count == 0)
+ {
+ Console.WriteLine("Empty!");
}
+
+ Console.WriteLine();
}
diff --git a/examples/logs/Logs.cs b/examples/logs/Logs.cs
index ea23fa05f..5293de579 100755
--- a/examples/logs/Logs.cs
+++ b/examples/logs/Logs.cs
@@ -1,31 +1,21 @@
using k8s;
using System;
-using System.Threading.Tasks;
-namespace logs
-{
- internal class Logs
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- if (list.Items.Count == 0)
- {
- Console.WriteLine("No pods!");
- return;
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+if (list.Items.Count == 0)
+{
+ Console.WriteLine("No pods!");
+ return;
+}
- var pod = list.Items[0];
+var pod = list.Items[0];
- var response = await client.CoreV1.ReadNamespacedPodLogWithHttpMessagesAsync(
- pod.Metadata.Name,
- pod.Metadata.NamespaceProperty, container: pod.Spec.Containers[0].Name, follow: true).ConfigureAwait(false);
- var stream = response.Body;
- stream.CopyTo(Console.OpenStandardOutput());
- }
- }
-}
+var response = await client.CoreV1.ReadNamespacedPodLogWithHttpMessagesAsync(
+ pod.Metadata.Name,
+ pod.Metadata.NamespaceProperty, container: pod.Spec.Containers[0].Name, follow: true).ConfigureAwait(false);
+var stream = response.Body;
+stream.CopyTo(Console.OpenStandardOutput());
diff --git a/examples/metrics/Program.cs b/examples/metrics/Program.cs
index 33a779f09..f823bf54d 100644
--- a/examples/metrics/Program.cs
+++ b/examples/metrics/Program.cs
@@ -3,58 +3,49 @@
using System.Linq;
using System.Threading.Tasks;
-namespace metrics
+async Task NodesMetrics(IKubernetes client)
{
- internal class Program
+ var nodesMetrics = await client.GetKubernetesNodesMetricsAsync().ConfigureAwait(false);
+
+ foreach (var item in nodesMetrics.Items)
{
- private static async Task NodesMetrics(IKubernetes client)
+ Console.WriteLine(item.Metadata.Name);
+
+ foreach (var metric in item.Usage)
{
- var nodesMetrics = await client.GetKubernetesNodesMetricsAsync().ConfigureAwait(false);
+ Console.WriteLine($"{metric.Key}: {metric.Value}");
+ }
+ }
+}
- foreach (var item in nodesMetrics.Items)
- {
- Console.WriteLine(item.Metadata.Name);
+async Task PodsMetrics(IKubernetes client)
+{
+ var podsMetrics = await client.GetKubernetesPodsMetricsAsync().ConfigureAwait(false);
- foreach (var metric in item.Usage)
- {
- Console.WriteLine($"{metric.Key}: {metric.Value}");
- }
- }
- }
+ if (!podsMetrics.Items.Any())
+ {
+ Console.WriteLine("Empty");
+ }
- private static async Task PodsMetrics(IKubernetes client)
+ foreach (var item in podsMetrics.Items)
+ {
+ foreach (var container in item.Containers)
{
- var podsMetrics = await client.GetKubernetesPodsMetricsAsync().ConfigureAwait(false);
-
- if (!podsMetrics.Items.Any())
- {
- Console.WriteLine("Empty");
- }
+ Console.WriteLine(container.Name);
- foreach (var item in podsMetrics.Items)
+ foreach (var metric in container.Usage)
{
- foreach (var container in item.Containers)
- {
- Console.WriteLine(container.Name);
-
- foreach (var metric in container.Usage)
- {
- Console.WriteLine($"{metric.Key}: {metric.Value}");
- }
- }
-
- Console.Write(Environment.NewLine);
+ Console.WriteLine($"{metric.Key}: {metric.Value}");
}
}
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- var client = new Kubernetes(config);
-
- await NodesMetrics(client).ConfigureAwait(false);
- Console.WriteLine(Environment.NewLine);
- await PodsMetrics(client).ConfigureAwait(false);
- }
+ Console.Write(Environment.NewLine);
}
}
+
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+var client = new Kubernetes(config);
+
+await NodesMetrics(client).ConfigureAwait(false);
+Console.WriteLine(Environment.NewLine);
+await PodsMetrics(client).ConfigureAwait(false);
diff --git a/examples/namespace/NamespaceExample.cs b/examples/namespace/NamespaceExample.cs
index 22ad06cde..06e8757a4 100644
--- a/examples/namespace/NamespaceExample.cs
+++ b/examples/namespace/NamespaceExample.cs
@@ -4,52 +4,37 @@
using System.Net;
using System.Threading.Tasks;
-namespace @namespace
+void ListNamespaces(IKubernetes client)
{
- internal class NamespaceExample
+ var list = client.CoreV1.ListNamespace();
+ foreach (var item in list.Items)
{
- private static void ListNamespaces(IKubernetes client)
- {
- var list = client.CoreV1.ListNamespace();
- foreach (var item in list.Items)
- {
- Console.WriteLine(item.Metadata.Name);
- }
+ Console.WriteLine(item.Metadata.Name);
+ }
- if (list.Items.Count == 0)
- {
- Console.WriteLine("Empty!");
- }
- }
+ if (list.Items.Count == 0)
+ {
+ Console.WriteLine("Empty!");
+ }
+}
- private static async Task DeleteAsync(IKubernetes client, string name, int delayMillis)
+async Task DeleteAsync(IKubernetes client, string name, int delayMillis)
+{
+ while (true)
+ {
+ await Task.Delay(delayMillis).ConfigureAwait(false);
+ try
{
- while (true)
+ await client.CoreV1.ReadNamespaceAsync(name).ConfigureAwait(false);
+ }
+ catch (AggregateException ex)
+ {
+ foreach (var innerEx in ex.InnerExceptions)
{
- await Task.Delay(delayMillis).ConfigureAwait(false);
- try
- {
- await client.CoreV1.ReadNamespaceAsync(name).ConfigureAwait(false);
- }
- catch (AggregateException ex)
- {
- foreach (var innerEx in ex.InnerExceptions)
- {
- if (innerEx is k8s.Autorest.HttpOperationException exception)
- {
- var code = exception.Response.StatusCode;
- if (code == HttpStatusCode.NotFound)
- {
- return;
- }
-
- throw;
- }
- }
- }
- catch (k8s.Autorest.HttpOperationException ex)
+ if (innerEx is k8s.Autorest.HttpOperationException exception)
{
- if (ex.Response.StatusCode == HttpStatusCode.NotFound)
+ var code = exception.Response.StatusCode;
+ if (code == HttpStatusCode.NotFound)
{
return;
}
@@ -58,41 +43,47 @@ private static async Task DeleteAsync(IKubernetes client, string name, int delay
}
}
}
-
- private static void Delete(IKubernetes client, string name, int delayMillis)
+ catch (k8s.Autorest.HttpOperationException ex)
{
- DeleteAsync(client, name, delayMillis).Wait();
+ if (ex.Response.StatusCode == HttpStatusCode.NotFound)
+ {
+ return;
+ }
+
+ throw;
}
+ }
+}
- private static void Main(string[] args)
- {
- var k8SClientConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(k8SClientConfig);
+void Delete(IKubernetes client, string name, int delayMillis)
+{
+ DeleteAsync(client, name, delayMillis).Wait();
+}
- ListNamespaces(client);
+var k8SClientConfig = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(k8SClientConfig);
- var ns = new V1Namespace { Metadata = new V1ObjectMeta { Name = "test" } };
+ListNamespaces(client);
- var result = client.CoreV1.CreateNamespace(ns);
- Console.WriteLine(result);
+var ns = new V1Namespace { Metadata = new V1ObjectMeta { Name = "test" } };
- ListNamespaces(client);
+var result = client.CoreV1.CreateNamespace(ns);
+Console.WriteLine(result);
- var status = client.CoreV1.DeleteNamespace(ns.Metadata.Name, new V1DeleteOptions());
+ListNamespaces(client);
- if (status.HasObject)
- {
- var obj = status.ObjectView();
- Console.WriteLine(obj.Status.Phase);
+var status = client.CoreV1.DeleteNamespace(ns.Metadata.Name, new V1DeleteOptions());
- Delete(client, ns.Metadata.Name, 3 * 1000);
- }
- else
- {
- Console.WriteLine(status.Message);
- }
+if (status.HasObject)
+{
+ var obj = status.ObjectView();
+ Console.WriteLine(obj.Status.Phase);
- ListNamespaces(client);
- }
- }
+ Delete(client, ns.Metadata.Name, 3 * 1000);
}
+else
+{
+ Console.WriteLine(status.Message);
+}
+
+ListNamespaces(client);
diff --git a/examples/openTelemetryConsole/Program.cs b/examples/openTelemetryConsole/Program.cs
index 9a5460dcb..4b7406be3 100644
--- a/examples/openTelemetryConsole/Program.cs
+++ b/examples/openTelemetryConsole/Program.cs
@@ -24,11 +24,12 @@
// Read the list of pods contained in default namespace
var list = client.CoreV1.ListNamespacedPod("default");
-// Print the name of pods
+// Print the name of pods
foreach (var item in list.Items)
{
Console.WriteLine(item.Metadata.Name);
}
+
// Or empty if there are no pods
if (list.Items.Count == 0)
{
diff --git a/examples/patch-aot/Program.cs b/examples/patch-aot/Program.cs
new file mode 100644
index 000000000..e72f6a4d2
--- /dev/null
+++ b/examples/patch-aot/Program.cs
@@ -0,0 +1,33 @@
+using k8s;
+using k8s.Models;
+
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
+
+var pod = client.CoreV1.ListNamespacedPod("default").Items.First();
+var name = pod.Metadata.Name;
+PrintLabels(pod);
+
+var patchStr = @"
+{
+ ""metadata"": {
+ ""labels"": {
+ ""test"": ""test""
+ }
+ }
+}";
+
+client.CoreV1.PatchNamespacedPod(new V1Patch(patchStr, V1Patch.PatchType.MergePatch), name, "default");
+PrintLabels(client.CoreV1.ReadNamespacedPod(name, "default"));
+
+static void PrintLabels(V1Pod pod)
+{
+ Console.WriteLine($"Labels: for {pod.Metadata.Name}");
+ foreach (var (k, v) in pod.Metadata.Labels)
+ {
+ Console.WriteLine($"{k} : {v}");
+ }
+
+ Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
+}
diff --git a/examples/patch-aot/patch-aot.csproj b/examples/patch-aot/patch-aot.csproj
new file mode 100644
index 000000000..c2c806215
--- /dev/null
+++ b/examples/patch-aot/patch-aot.csproj
@@ -0,0 +1,11 @@
+
+
+ Exe
+ enable
+ enable
+ true
+
+
+
+
+
diff --git a/examples/patch/Program.cs b/examples/patch/Program.cs
index 7958fcc35..f8cefa67c 100644
--- a/examples/patch/Program.cs
+++ b/examples/patch/Program.cs
@@ -3,21 +3,15 @@
using System;
using System.Linq;
-namespace patch
-{
- internal class Program
- {
- private static void Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var pod = client.CoreV1.ListNamespacedPod("default").Items.First();
- var name = pod.Metadata.Name;
- PrintLabels(pod);
+var pod = client.CoreV1.ListNamespacedPod("default").Items.First();
+var name = pod.Metadata.Name;
+PrintLabels(pod);
- var patchStr = @"
+var patchStr = @"
{
""metadata"": {
""labels"": {
@@ -26,19 +20,16 @@ private static void Main(string[] args)
}
}";
- client.CoreV1.PatchNamespacedPod(new V1Patch(patchStr, V1Patch.PatchType.MergePatch), name, "default");
- PrintLabels(client.CoreV1.ReadNamespacedPod(name, "default"));
- }
-
- private static void PrintLabels(V1Pod pod)
- {
- Console.WriteLine($"Labels: for {pod.Metadata.Name}");
- foreach (var (k, v) in pod.Metadata.Labels)
- {
- Console.WriteLine($"{k} : {v}");
- }
+client.CoreV1.PatchNamespacedPod(new V1Patch(patchStr, V1Patch.PatchType.MergePatch), name, "default");
+PrintLabels(client.CoreV1.ReadNamespacedPod(name, "default"));
- Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
- }
+void PrintLabels(V1Pod pod)
+{
+ Console.WriteLine($"Labels: for {pod.Metadata.Name}");
+ foreach (var (k, v) in pod.Metadata.Labels)
+ {
+ Console.WriteLine($"{k} : {v}");
}
+
+ Console.WriteLine("=-=-=-=-=-=-=-=-=-=-=");
}
diff --git a/examples/portforward/PortForward.cs b/examples/portforward/PortForward.cs
index fe9485d86..ee095e073 100644
--- a/examples/portforward/PortForward.cs
+++ b/examples/portforward/PortForward.cs
@@ -6,74 +6,66 @@
using System.Text;
using System.Threading.Tasks;
-namespace portforward
-{
- internal class Portforward
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting port forward!");
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting port forward!");
- var list = client.CoreV1.ListNamespacedPod("default");
- var pod = list.Items[0];
- await Forward(client, pod);
- }
-
- private static async Task Forward(IKubernetes client, V1Pod pod)
- {
- // Note this is single-threaded, it won't handle concurrent requests well...
- var webSocket = await client.WebSocketNamespacedPodPortForwardAsync(pod.Metadata.Name, "default", new int[] { 80 }, "v4.channel.k8s.io");
- var demux = new StreamDemuxer(webSocket, StreamType.PortForward);
- demux.Start();
+var list = client.CoreV1.ListNamespacedPod("default");
+var pod = list.Items[0];
+await Forward(client, pod).ConfigureAwait(false);
- var stream = demux.GetStream((byte?)0, (byte?)0);
+async Task Forward(IKubernetes client, V1Pod pod)
+{
+ // Note this is single-threaded, it won't handle concurrent requests well...
+ var webSocket = await client.WebSocketNamespacedPodPortForwardAsync(pod.Metadata.Name, "default", new int[] { 80 }, "v4.channel.k8s.io").ConfigureAwait(false);
+ var demux = new StreamDemuxer(webSocket, StreamType.PortForward);
+ demux.Start();
- IPAddress ipAddress = IPAddress.Loopback;
- IPEndPoint localEndPoint = new IPEndPoint(ipAddress, 8080);
- Socket listener = new Socket(ipAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
- listener.Bind(localEndPoint);
- listener.Listen(100);
+ var stream = demux.GetStream((byte?)0, (byte?)0);
- Socket handler = null;
+ IPAddress ipAddress = IPAddress.Loopback;
+ IPEndPoint localEndPoint = new IPEndPoint(ipAddress, 8080);
+ Socket listener = new Socket(ipAddress.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
+ listener.Bind(localEndPoint);
+ listener.Listen(100);
- // Note this will only accept a single connection
- var accept = Task.Run(() =>
- {
- while (true)
- {
- handler = listener.Accept();
- var bytes = new byte[4096];
- while (true)
- {
- int bytesRec = handler.Receive(bytes);
- stream.Write(bytes, 0, bytesRec);
- if (bytesRec == 0 || Encoding.ASCII.GetString(bytes, 0, bytesRec).IndexOf("") > -1)
- {
- break;
- }
- }
- }
- });
+ Socket handler = null;
- var copy = Task.Run(() =>
+ // Note this will only accept a single connection
+ var accept = Task.Run(() =>
+ {
+ while (true)
+ {
+ handler = listener.Accept();
+ var bytes = new byte[4096];
+ while (true)
{
- var buff = new byte[4096];
- while (true)
+ int bytesRec = handler.Receive(bytes);
+ stream.Write(bytes, 0, bytesRec);
+ if (bytesRec == 0 || Encoding.ASCII.GetString(bytes, 0, bytesRec).IndexOf("") > -1)
{
- var read = stream.Read(buff, 0, 4096);
- handler.Send(buff, read, 0);
+ break;
}
- });
-
- await accept;
- await copy;
- if (handler != null)
- {
- handler.Close();
}
- listener.Close();
}
+ });
+
+ var copy = Task.Run(() =>
+ {
+ var buff = new byte[4096];
+ while (true)
+ {
+ var read = stream.Read(buff, 0, 4096);
+ handler.Send(buff, read, 0);
+ }
+ });
+
+ await accept.ConfigureAwait(false);
+ await copy.ConfigureAwait(false);
+ if (handler != null)
+ {
+ handler.Close();
}
+
+ listener.Close();
}
diff --git a/examples/resize/Program.cs b/examples/resize/Program.cs
new file mode 100644
index 000000000..85fbeb9b2
--- /dev/null
+++ b/examples/resize/Program.cs
@@ -0,0 +1,63 @@
+using k8s;
+using k8s.Models;
+using System;
+using System.Collections.Generic;
+
+
+var config = KubernetesClientConfiguration.BuildDefaultConfig();
+var client = new Kubernetes(config);
+
+
+var pod = new V1Pod
+{
+ Metadata = new V1ObjectMeta { Name = "nginx-pod" },
+ Spec = new V1PodSpec
+ {
+ Containers =
+ [
+ new V1Container
+ {
+ Name = "nginx",
+ Image = "nginx",
+ Resources = new V1ResourceRequirements
+ {
+ Requests = new Dictionary()
+ {
+ ["cpu"] = "100m",
+ },
+ },
+ },
+ ],
+ },
+};
+{
+ var created = await client.CoreV1.CreateNamespacedPodAsync(pod, "default").ConfigureAwait(false);
+ Console.WriteLine($"Created pod: {created.Metadata.Name}");
+}
+
+{
+ var patchStr = @"
+ {
+ ""spec"": {
+ ""containers"": [
+ {
+ ""name"": ""nginx"",
+ ""resources"": {
+ ""requests"": {
+ ""cpu"": ""200m""
+ }
+ }
+ }
+ ]
+ }
+ }";
+
+ var patch = await client.CoreV1.PatchNamespacedPodResizeAsync(new V1Patch(patchStr, V1Patch.PatchType.MergePatch), "nginx-pod", "default").ConfigureAwait(false);
+
+ if (patch?.Spec?.Containers?.Count > 0 &&
+ patch.Spec.Containers[0].Resources?.Requests != null &&
+ patch.Spec.Containers[0].Resources.Requests.TryGetValue("cpu", out var cpuQty))
+ {
+ Console.WriteLine($"CPU request: {cpuQty}");
+ }
+}
diff --git a/examples/resize/resize.csproj b/examples/resize/resize.csproj
new file mode 100644
index 000000000..d1e5b4724
--- /dev/null
+++ b/examples/resize/resize.csproj
@@ -0,0 +1,5 @@
+
+
+ Exe
+
+
\ No newline at end of file
diff --git a/examples/restart/Program.cs b/examples/restart/Program.cs
index b6e7a6f22..894e305a6 100644
--- a/examples/restart/Program.cs
+++ b/examples/restart/Program.cs
@@ -1,17 +1,17 @@
-using Json.Patch;
+using Json.Patch;
using k8s;
using k8s.Models;
using System.Text.Json;
async Task RestartDaemonSetAsync(string name, string @namespace, IKubernetes client)
{
- var daemonSet = await client.AppsV1.ReadNamespacedDaemonSetAsync(name, @namespace);
+ var daemonSet = await client.AppsV1.ReadNamespacedDaemonSetAsync(name, @namespace).ConfigureAwait(false);
var options = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase, WriteIndented = true };
var old = JsonSerializer.SerializeToDocument(daemonSet, options);
var now = DateTimeOffset.Now.ToUnixTimeSeconds();
var restart = new Dictionary
{
- ["date"] = now.ToString()
+ ["date"] = now.ToString(),
};
daemonSet.Spec.Template.Metadata.Annotations = restart;
@@ -19,18 +19,18 @@ async Task RestartDaemonSetAsync(string name, string @namespace, IKubernetes cli
var expected = JsonSerializer.SerializeToDocument(daemonSet);
var patch = old.CreatePatch(expected);
- await client.AppsV1.PatchNamespacedDaemonSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace);
+ await client.AppsV1.PatchNamespacedDaemonSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace).ConfigureAwait(false);
}
async Task RestartDeploymentAsync(string name, string @namespace, IKubernetes client)
{
- var deployment = await client.AppsV1.ReadNamespacedDeploymentAsync(name, @namespace);
+ var deployment = await client.AppsV1.ReadNamespacedDeploymentAsync(name, @namespace).ConfigureAwait(false);
var options = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase, WriteIndented = true };
var old = JsonSerializer.SerializeToDocument(deployment, options);
var now = DateTimeOffset.Now.ToUnixTimeSeconds();
var restart = new Dictionary
{
- ["date"] = now.ToString()
+ ["date"] = now.ToString(),
};
deployment.Spec.Template.Metadata.Annotations = restart;
@@ -38,18 +38,18 @@ async Task RestartDeploymentAsync(string name, string @namespace, IKubernetes cl
var expected = JsonSerializer.SerializeToDocument(deployment);
var patch = old.CreatePatch(expected);
- await client.AppsV1.PatchNamespacedDeploymentAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace);
+ await client.AppsV1.PatchNamespacedDeploymentAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace).ConfigureAwait(false);
}
async Task RestartStatefulSetAsync(string name, string @namespace, IKubernetes client)
{
- var deployment = await client.AppsV1.ReadNamespacedStatefulSetAsync(name, @namespace);
+ var deployment = await client.AppsV1.ReadNamespacedStatefulSetAsync(name, @namespace).ConfigureAwait(false);
var options = new JsonSerializerOptions { PropertyNamingPolicy = JsonNamingPolicy.CamelCase, WriteIndented = true };
var old = JsonSerializer.SerializeToDocument(deployment, options);
var now = DateTimeOffset.Now.ToUnixTimeSeconds();
var restart = new Dictionary
{
- ["date"] = now.ToString()
+ ["date"] = now.ToString(),
};
deployment.Spec.Template.Metadata.Annotations = restart;
@@ -57,12 +57,12 @@ async Task RestartStatefulSetAsync(string name, string @namespace, IKubernetes c
var expected = JsonSerializer.SerializeToDocument(deployment);
var patch = old.CreatePatch(expected);
- await client.AppsV1.PatchNamespacedStatefulSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace);
+ await client.AppsV1.PatchNamespacedStatefulSetAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), name, @namespace).ConfigureAwait(false);
}
var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
IKubernetes client = new Kubernetes(config);
-await RestartDeploymentAsync("event-exporter", "monitoring", client);
-await RestartDaemonSetAsync("prometheus-exporter", "monitoring", client);
-await RestartStatefulSetAsync("argocd-application-controlle", "argocd", client);
+await RestartDeploymentAsync("event-exporter", "monitoring", client).ConfigureAwait(false);
+await RestartDaemonSetAsync("prometheus-exporter", "monitoring", client).ConfigureAwait(false);
+await RestartStatefulSetAsync("argocd-application-controlle", "argocd", client).ConfigureAwait(false);
diff --git a/examples/simple/PodList.cs b/examples/simple/PodList.cs
index b9eb3cdcf..751622c16 100755
--- a/examples/simple/PodList.cs
+++ b/examples/simple/PodList.cs
@@ -1,26 +1,17 @@
using k8s;
using System;
-namespace simple
-{
- internal class PodList
- {
- private static void Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildDefaultConfig();
- IKubernetes client = new Kubernetes(config);
- Console.WriteLine("Starting Request!");
+var config = KubernetesClientConfiguration.BuildDefaultConfig();
+IKubernetes client = new Kubernetes(config);
+Console.WriteLine("Starting Request!");
- var list = client.CoreV1.ListNamespacedPod("default");
- foreach (var item in list.Items)
- {
- Console.WriteLine(item.Metadata.Name);
- }
+var list = client.CoreV1.ListNamespacedPod("default");
+foreach (var item in list.Items)
+{
+ Console.WriteLine(item.Metadata.Name);
+}
- if (list.Items.Count == 0)
- {
- Console.WriteLine("Empty!");
- }
- }
- }
+if (list.Items.Count == 0)
+{
+ Console.WriteLine("Empty!");
}
diff --git a/examples/watch/Program.cs b/examples/watch/Program.cs
index 525cbec5c..1aff65883 100644
--- a/examples/watch/Program.cs
+++ b/examples/watch/Program.cs
@@ -1,50 +1,39 @@
using k8s;
-using k8s.Models;
using System;
using System.Threading;
using System.Threading.Tasks;
-namespace watch
-{
- internal class Program
- {
- private static async Task Main(string[] args)
- {
- var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
+var config = KubernetesClientConfiguration.BuildConfigFromConfigFile();
- IKubernetes client = new Kubernetes(config);
+IKubernetes client = new Kubernetes(config);
- var podlistResp = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
- // C# 8 required https://docs.microsoft.com/en-us/archive/msdn-magazine/2019/november/csharp-iterating-with-async-enumerables-in-csharp-8
- await foreach (var (type, item) in podlistResp.WatchAsync())
- {
- Console.WriteLine("==on watch event==");
- Console.WriteLine(type);
- Console.WriteLine(item.Metadata.Name);
- Console.WriteLine("==on watch event==");
- }
+var podlistResp = client.CoreV1.WatchListNamespacedPodAsync("default");
- // uncomment if you prefer callback api
- // WatchUsingCallback(client);
- }
+// C# 8 required https://docs.microsoft.com/en-us/archive/msdn-magazine/2019/november/csharp-iterating-with-async-enumerables-in-csharp-8
+await foreach (var (type, item) in podlistResp.ConfigureAwait(false))
+{
+ Console.WriteLine("==on watch event==");
+ Console.WriteLine(type);
+ Console.WriteLine(item.Metadata.Name);
+ Console.WriteLine("==on watch event==");
+}
- private static void WatchUsingCallback(IKubernetes client)
- {
- var podlistResp = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
- using (podlistResp.Watch((type, item) =>
- {
- Console.WriteLine("==on watch event==");
- Console.WriteLine(type);
- Console.WriteLine(item.Metadata.Name);
- Console.WriteLine("==on watch event==");
- }))
- {
- Console.WriteLine("press ctrl + c to stop watching");
+#pragma warning disable CS8321 // Remove unused private members
+void WatchUsingCallback(IKubernetes client)
+#pragma warning restore CS8321 // Remove unused private members
+{
+ using (var podlistResp = client.CoreV1.WatchListNamespacedPod("default", onEvent: (type, item) =>
+ {
+ Console.WriteLine("==on watch event==");
+ Console.WriteLine(type);
+ Console.WriteLine(item.Metadata.Name);
+ Console.WriteLine("==on watch event==");
+ }))
+ {
+ Console.WriteLine("press ctrl + c to stop watching");
- var ctrlc = new ManualResetEventSlim(false);
- Console.CancelKeyPress += (sender, eventArgs) => ctrlc.Set();
- ctrlc.Wait();
- }
- }
+ var ctrlc = new ManualResetEventSlim(false);
+ Console.CancelKeyPress += (sender, eventArgs) => ctrlc.Set();
+ ctrlc.Wait();
}
-}
+}
\ No newline at end of file
diff --git a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs
index 30fd2656c..6bff6df0d 100644
--- a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs
+++ b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnConstructorController.cs
@@ -10,22 +10,23 @@ public class ExampleDependencyInjectionOnConstructorController : ControllerBase
private readonly IKubernetes kubernetesClient;
///
- /// Inject the kubernets class in the constructor.
+ /// Initializes a new instance of the class.
+ /// Injects the Kubernetes client into the controller.
///
- ///
+ /// The Kubernetes client to interact with the Kubernetes API.
public ExampleDependencyInjectionOnConstructorController(IKubernetes kubernetesClient)
{
this.kubernetesClient = kubernetesClient;
}
///
- /// Example using the kubernetes client obtained from the constructor (this.kubernetesClient).
+ /// Retrieves the names of all pods in the default namespace using the injected Kubernetes client.
///
- ///
- [HttpGet()]
+ /// A collection of pod names in the default namespace.
+ [HttpGet]
public IEnumerable GetPods()
{
- // Read the list of pods contained in default namespace
+ // Read the list of pods contained in the default namespace
var podList = this.kubernetesClient.CoreV1.ListNamespacedPod("default");
// Return names of pods
diff --git a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs
index 0a831befb..84427f5e2 100644
--- a/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs
+++ b/examples/webApiDependencyInjection/Controllers/ExampleDependencyInjectionOnMethodController.cs
@@ -10,11 +10,13 @@ public class ExampleDependencyInjectionOnMethodController : ControllerBase
///
/// Example using the kubernetes client injected directly into the method ([FromServices] IKubernetes kubernetesClient).
///
- ///
- ///
- [HttpGet()]
+ /// The Kubernetes client instance injected via dependency injection.
+ /// A collection of pod names in the default namespace.
+ [HttpGet]
public IEnumerable GetPods([FromServices] IKubernetes kubernetesClient)
{
+ ArgumentNullException.ThrowIfNull(kubernetesClient);
+
// Read the list of pods contained in default namespace
var podList = kubernetesClient.CoreV1.ListNamespacedPod("default");
diff --git a/examples/workerServiceDependencyInjection/Program.cs b/examples/workerServiceDependencyInjection/Program.cs
index 59bf3cf25..a894a33fe 100644
--- a/examples/workerServiceDependencyInjection/Program.cs
+++ b/examples/workerServiceDependencyInjection/Program.cs
@@ -14,4 +14,4 @@
})
.Build();
-await host.RunAsync();
+await host.RunAsync().ConfigureAwait(false);
diff --git a/examples/workerServiceDependencyInjection/Worker.cs b/examples/workerServiceDependencyInjection/Worker.cs
index 87d2ecfe2..cb2f82386 100644
--- a/examples/workerServiceDependencyInjection/Worker.cs
+++ b/examples/workerServiceDependencyInjection/Worker.cs
@@ -8,10 +8,11 @@ public class Worker : BackgroundService
private readonly IKubernetes kubernetesClient;
///
+ /// Initializes a new instance of the class.
/// Inject in the constructor the IKubernetes interface.
///
- ///
- ///
+ /// The logger instance used for logging information.
+ /// The Kubernetes client used to interact with the Kubernetes API.
public Worker(ILogger logger, IKubernetes kubernetesClient)
{
this.logger = logger;
@@ -33,7 +34,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
Console.WriteLine(pod.Metadata.Name);
}
- await Task.Delay(1000, stoppingToken);
+ await Task.Delay(1000, stoppingToken).ConfigureAwait(false);
}
}
}
diff --git a/examples/yaml/Program.cs b/examples/yaml/Program.cs
index 04676b16f..47b70bdfe 100644
--- a/examples/yaml/Program.cs
+++ b/examples/yaml/Program.cs
@@ -2,27 +2,17 @@
using k8s.Models;
using System;
using System.Collections.Generic;
-using System.Threading.Tasks;
-namespace yaml
+var typeMap = new Dictionary
{
- internal class Program
- {
- private static async Task Main(string[] args)
- {
- var typeMap = new Dictionary
- {
- { "v1/Pod", typeof(V1Pod) },
- { "v1/Service", typeof(V1Service) },
- { "apps/v1/Deployment", typeof(V1Deployment) }
- };
+ { "v1/Pod", typeof(V1Pod) },
+ { "v1/Service", typeof(V1Service) },
+ { "apps/v1/Deployment", typeof(V1Deployment) },
+};
- var objects = await KubernetesYaml.LoadAllFromFileAsync(args[0], typeMap);
+var objects = await KubernetesYaml.LoadAllFromFileAsync(args[0], typeMap).ConfigureAwait(false);
- foreach (var obj in objects)
- {
- Console.WriteLine(obj);
- }
- }
- }
+foreach (var obj in objects)
+{
+ Console.WriteLine(obj);
}
diff --git a/src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponse.cs b/src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponse.cs
index 5bac4af5e..d593ff4f6 100644
--- a/src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponse.cs
+++ b/src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponse.cs
@@ -8,9 +8,13 @@ public class ExecCredentialResponse
public class ExecStatus
{
#nullable enable
+ [JsonPropertyName("expirationTimestamp")]
public DateTime? ExpirationTimestamp { get; set; }
+ [JsonPropertyName("token")]
public string? Token { get; set; }
+ [JsonPropertyName("clientCertificateData")]
public string? ClientCertificateData { get; set; }
+ [JsonPropertyName("clientKeyData")]
public string? ClientKeyData { get; set; }
#nullable disable
diff --git a/src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponseContext.cs b/src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponseContext.cs
new file mode 100644
index 000000000..c7ffd8294
--- /dev/null
+++ b/src/KubernetesClient.Aot/KubeConfigModels/ExecCredentialResponseContext.cs
@@ -0,0 +1,7 @@
+namespace k8s.KubeConfigModels
+{
+ [JsonSerializable(typeof(ExecCredentialResponse))]
+ internal partial class ExecCredentialResponseContext : JsonSerializerContext
+ {
+ }
+}
diff --git a/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj b/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj
index 740ad73ff..5c7cf8fed 100644
--- a/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj
+++ b/src/KubernetesClient.Aot/KubernetesClient.Aot.csproj
@@ -1,11 +1,12 @@
-
+
- net8.0
+ net8.0;net9.0
k8s
true
true
true
+ $(DefineConstants);K8S_AOT
@@ -19,20 +20,18 @@
-
+
-
+
-
-
-
-
+
+
+
-
@@ -44,7 +43,15 @@
-
+
+
+
+
+
+
+
+
+
@@ -100,11 +107,7 @@
-
-
-
-
-
\ No newline at end of file
+
diff --git a/src/KubernetesClient.Aot/KubernetesClientConfiguration.ConfigFile.cs b/src/KubernetesClient.Aot/KubernetesClientConfiguration.ConfigFile.cs
index 597eea7c5..a2301b464 100644
--- a/src/KubernetesClient.Aot/KubernetesClientConfiguration.ConfigFile.cs
+++ b/src/KubernetesClient.Aot/KubernetesClientConfiguration.ConfigFile.cs
@@ -306,21 +306,32 @@ private void SetClusterDetails(K8SConfiguration k8SConfig, Context activeContext
{
if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthorityData))
{
+ var data = clusterDetails.ClusterEndpoint.CertificateAuthorityData;
+#if NET9_0_OR_GREATER
+ SslCaCerts = new X509Certificate2Collection(X509CertificateLoader.LoadCertificate(Convert.FromBase64String(data)));
+#else
+ string nullPassword = null;
// This null password is to change the constructor to fix this KB:
// https://support.microsoft.com/en-us/topic/kb5025823-change-in-how-net-applications-import-x-509-certificates-bf81c936-af2b-446e-9f7a-016f4713b46b
- string nullPassword = null;
- var data = clusterDetails.ClusterEndpoint.CertificateAuthorityData;
SslCaCerts = new X509Certificate2Collection(new X509Certificate2(Convert.FromBase64String(data), nullPassword));
+#endif
}
else if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthority))
{
+#if NET9_0_OR_GREATER
+ SslCaCerts = new X509Certificate2Collection(X509CertificateLoader.LoadCertificateFromFile(GetFullPath(
+ k8SConfig,
+ clusterDetails.ClusterEndpoint.CertificateAuthority)));
+#else
SslCaCerts = new X509Certificate2Collection(new X509Certificate2(GetFullPath(
k8SConfig,
clusterDetails.ClusterEndpoint.CertificateAuthority)));
+#endif
}
}
}
+
private void SetUserDetails(K8SConfiguration k8SConfig, Context activeContext)
{
if (string.IsNullOrWhiteSpace(activeContext.ContextDetails.User))
@@ -512,7 +523,10 @@ public static ExecCredentialResponse ExecuteExternalCommand(ExternalExecution co
throw new KubeConfigException("external exec failed due to timeout");
}
- var responseObject = KubernetesJson.Deserialize(process.StandardOutput.ReadToEnd());
+ var responseObject = JsonSerializer.Deserialize(
+ process.StandardOutput.ReadToEnd(),
+ ExecCredentialResponseContext.Default.ExecCredentialResponse);
+
if (responseObject == null || responseObject.ApiVersion != config.ApiVersion)
{
throw new KubeConfigException(
diff --git a/src/KubernetesClient.Aot/KubernetesJson.cs b/src/KubernetesClient.Aot/KubernetesJson.cs
deleted file mode 100644
index cfa69ec01..000000000
--- a/src/KubernetesClient.Aot/KubernetesJson.cs
+++ /dev/null
@@ -1,98 +0,0 @@
-using System.Globalization;
-using System.Text.RegularExpressions;
-using System.Xml;
-
-namespace k8s
-{
- internal static class KubernetesJson
- {
- internal sealed class Iso8601TimeSpanConverter : JsonConverter
- {
- public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
- {
- var str = reader.GetString();
- return XmlConvert.ToTimeSpan(str);
- }
-
- public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializerOptions options)
- {
- var iso8601TimeSpanString = XmlConvert.ToString(value); // XmlConvert for TimeSpan uses ISO8601, so delegate serialization to it
- writer.WriteStringValue(iso8601TimeSpanString);
- }
- }
-
- internal sealed class KubernetesDateTimeOffsetConverter : JsonConverter
- {
- private const string RFC3339MicroFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.ffffffK";
- private const string RFC3339NanoFormat = "yyyy-MM-dd'T'HH':'mm':'ss.fffffffK";
- private const string RFC3339Format = "yyyy'-'MM'-'dd'T'HH':'mm':'ssK";
-
- public override DateTimeOffset Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
- {
- var str = reader.GetString();
-
- if (DateTimeOffset.TryParseExact(str, new[] { RFC3339Format, RFC3339MicroFormat }, CultureInfo.InvariantCulture, DateTimeStyles.None, out var result))
- {
- return result;
- }
-
- // try RFC3339NanoLenient by trimming 1-9 digits to 7 digits
- var originalstr = str;
- str = Regex.Replace(str, @"\.\d+", m => (m.Value + "000000000").Substring(0, 7 + 1)); // 7 digits + 1 for the dot
- if (DateTimeOffset.TryParseExact(str, new[] { RFC3339NanoFormat }, CultureInfo.InvariantCulture, DateTimeStyles.None, out result))
- {
- return result;
- }
-
- throw new FormatException($"Unable to parse {originalstr} as RFC3339 RFC3339Micro or RFC3339Nano");
- }
-
- public override void Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options)
- {
- writer.WriteStringValue(value.ToString(RFC3339MicroFormat));
- }
- }
-
- internal sealed class KubernetesDateTimeConverter : JsonConverter
- {
- private static readonly JsonConverter UtcConverter = new KubernetesDateTimeOffsetConverter();
- public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
- {
- return UtcConverter.Read(ref reader, typeToConvert, options).UtcDateTime;
- }
-
- public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options)
- {
- UtcConverter.Write(writer, value, options);
- }
- }
-
- ///
- /// Configures for the .
- /// To override existing converters, add them to the top of the list
- /// e.g. as follows: options.Converters.Insert(index: 0, new JsonStringEnumConverter(JsonNamingPolicy.CamelCase));
- ///
- /// An to configure the .
- public static void AddJsonOptions(Action configure)
- {
- }
-
- public static TValue Deserialize(string json, JsonSerializerOptions jsonSerializerOptions = null)
- {
- var info = SourceGenerationContext.Default.GetTypeInfo(typeof(TValue));
- return (TValue)JsonSerializer.Deserialize(json, info);
- }
-
- public static TValue Deserialize(Stream json, JsonSerializerOptions jsonSerializerOptions = null)
- {
- var info = SourceGenerationContext.Default.GetTypeInfo(typeof(TValue));
- return (TValue)JsonSerializer.Deserialize(json, info);
- }
-
- public static string Serialize(object value, JsonSerializerOptions jsonSerializerOptions = null)
- {
- var info = SourceGenerationContext.Default.GetTypeInfo(value.GetType());
- return JsonSerializer.Serialize(value, info);
- }
- }
-}
diff --git a/src/KubernetesClient.Aot/KubernetesYaml.cs b/src/KubernetesClient.Aot/KubernetesYaml.cs
index 069b1c12e..5530a2e02 100644
--- a/src/KubernetesClient.Aot/KubernetesYaml.cs
+++ b/src/KubernetesClient.Aot/KubernetesYaml.cs
@@ -17,6 +17,8 @@ internal static class KubernetesYaml
.WithTypeConverter(new IntOrStringYamlConverter())
.WithTypeConverter(new ByteArrayStringYamlConverter())
.WithTypeConverter(new ResourceQuantityYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeOffsetYamlConverter())
.WithAttemptingUnquotedStringTypeDeserialization()
;
@@ -33,6 +35,8 @@ internal static class KubernetesYaml
.WithTypeConverter(new IntOrStringYamlConverter())
.WithTypeConverter(new ByteArrayStringYamlConverter())
.WithTypeConverter(new ResourceQuantityYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeOffsetYamlConverter())
.WithEventEmitter(e => new StringQuotingEmitter(e))
.WithEventEmitter(e => new FloatEmitter(e))
.ConfigureDefaultValuesHandling(DefaultValuesHandling.OmitNull)
@@ -56,7 +60,7 @@ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeseria
return null;
}
- return Encoding.UTF8.GetBytes(scalar.Value);
+ return Convert.FromBase64String(scalar.Value);
}
finally
{
@@ -69,8 +73,15 @@ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeseria
public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
{
+ if (value == null)
+ {
+ emitter.Emit(new Scalar(string.Empty));
+ return;
+ }
+
var obj = (byte[])value;
- emitter?.Emit(new Scalar(Encoding.UTF8.GetString(obj)));
+ var encoded = Convert.ToBase64String(obj);
+ emitter.Emit(new Scalar(encoded));
}
}
diff --git a/src/KubernetesClient.Aot/SourceGenerationContext.cs b/src/KubernetesClient.Aot/SourceGenerationContext.cs
deleted file mode 100644
index decb9b5a9..000000000
--- a/src/KubernetesClient.Aot/SourceGenerationContext.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using static k8s.KubernetesJson;
-
-namespace k8s;
-
-[JsonSourceGenerationOptions(
- DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
- PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
- Converters = new[] { typeof(Iso8601TimeSpanConverter), typeof(KubernetesDateTimeConverter), typeof(KubernetesDateTimeOffsetConverter) })
- ]
-internal partial class SourceGenerationContext : JsonSerializerContext
-{
-}
diff --git a/src/KubernetesClient.Classic/IsExternalInit.cs b/src/KubernetesClient.Classic/IsExternalInit.cs
new file mode 100644
index 000000000..749f30858
--- /dev/null
+++ b/src/KubernetesClient.Classic/IsExternalInit.cs
@@ -0,0 +1,5 @@
+// IntOrString.cs(7,36): error CS0518: Predefined type 'System.Runtime.CompilerServices.IsExternalInit' is not defined or imported
+namespace System.Runtime.CompilerServices
+{
+ internal static class IsExternalInit { }
+}
\ No newline at end of file
diff --git a/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj b/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj
index 81093c91e..902dc41dd 100644
--- a/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj
+++ b/src/KubernetesClient.Classic/KubernetesClient.Classic.csproj
@@ -7,8 +7,6 @@
-
-
@@ -24,22 +22,20 @@
-
+
-
+
-
-
-
-
+
+
+
-
@@ -53,6 +49,9 @@
+
+
+
@@ -77,7 +76,10 @@
-
+
+
+
+
diff --git a/src/KubernetesClient.Kubectl/KubernetesClient.Kubectl.csproj b/src/KubernetesClient.Kubectl/KubernetesClient.Kubectl.csproj
index 09e37730b..25440a1f7 100644
--- a/src/KubernetesClient.Kubectl/KubernetesClient.Kubectl.csproj
+++ b/src/KubernetesClient.Kubectl/KubernetesClient.Kubectl.csproj
@@ -1,7 +1,7 @@
- net6.0;net8.0
+ net8.0;net9.0
enable
enable
k8s.kubectl
diff --git a/src/KubernetesClient.ModelConverter/AutoMapper/AutoMapperModelVersionConverter.cs b/src/KubernetesClient.ModelConverter/AutoMapper/AutoMapperModelVersionConverter.cs
deleted file mode 100644
index c44190a46..000000000
--- a/src/KubernetesClient.ModelConverter/AutoMapper/AutoMapperModelVersionConverter.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using static k8s.Models.ModelVersionConverter;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-public class AutoMapperModelVersionConverter : IModelVersionConverter
-{
- public static IModelVersionConverter Instance { get; } = new AutoMapperModelVersionConverter();
-
- private AutoMapperModelVersionConverter()
- {
- }
-
- public TTo Convert(TFrom from)
- {
- return VersionConverter.Mapper.Map(from);
- }
-}
diff --git a/src/KubernetesClient.ModelConverter/AutoMapper/KubernetesVersionComparer.cs b/src/KubernetesClient.ModelConverter/AutoMapper/KubernetesVersionComparer.cs
deleted file mode 100644
index de22d25e1..000000000
--- a/src/KubernetesClient.ModelConverter/AutoMapper/KubernetesVersionComparer.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Text.RegularExpressions;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-internal class KubernetesVersionComparer : IComparer
-{
- public static KubernetesVersionComparer Instance { get; } = new KubernetesVersionComparer();
- private static readonly Regex KubernetesVersionRegex = new Regex(@"^v(?[0-9]+)((?alpha|beta)(?[0-9]+))?$", RegexOptions.Compiled);
-
- internal KubernetesVersionComparer()
- {
- }
-
- public int Compare(string x, string y)
- {
- if (x == null || y == null)
- {
- return StringComparer.CurrentCulture.Compare(x, y);
- }
-
- var matchX = KubernetesVersionRegex.Match(x);
- if (!matchX.Success)
- {
- return StringComparer.CurrentCulture.Compare(x, y);
- }
-
- var matchY = KubernetesVersionRegex.Match(y);
- if (!matchY.Success)
- {
- return StringComparer.CurrentCulture.Compare(x, y);
- }
-
- var versionX = ExtractVersion(matchX);
- var versionY = ExtractVersion(matchY);
- return versionX.CompareTo(versionY);
- }
-
- private Version ExtractVersion(Match match)
- {
- var major = int.Parse(match.Groups["major"].Value);
- if (!Enum.TryParse(match.Groups["stream"].Value, true, out var stream))
- {
- stream = Stream.Final;
- }
-
- _ = int.TryParse(match.Groups["minor"].Value, out var minor);
- return new Version(major, (int)stream, minor);
- }
-
- private enum Stream
- {
- Alpha = 1,
- Beta = 2,
- Final = 3,
- }
-}
diff --git a/src/KubernetesClient.ModelConverter/AutoMapper/VersionConverter.cs b/src/KubernetesClient.ModelConverter/AutoMapper/VersionConverter.cs
deleted file mode 100644
index 97e9080fe..000000000
--- a/src/KubernetesClient.ModelConverter/AutoMapper/VersionConverter.cs
+++ /dev/null
@@ -1,174 +0,0 @@
-// WARNING: DO NOT LEAVE COMMENTED CODE IN THIS FILE. IT GETS SCANNED BY GEN PROJECT SO IT CAN EXCLUDE ANY MANUALLY DEFINED MAPS
-
-using AutoMapper;
-#if NET6_0_OR_GREATER
-using AutoMapper.Internal;
-#endif
-using k8s.Models;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Reflection;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-///
-/// Provides mappers that converts Kubernetes models between different versions
-///
-internal static partial class VersionConverter
-{
- static VersionConverter()
- {
- UpdateMappingConfiguration(expression => { });
- }
-
- public static IMapper Mapper { get; private set; }
- internal static MapperConfiguration MapperConfiguration { get; private set; }
-
- ///
- /// Two level lookup of model types by Kind and then Version
- ///
- internal static Dictionary> KindVersionsMap { get; private set; }
-
- public static Type GetTypeForVersion(string version)
- {
- return GetTypeForVersion(typeof(T), version);
- }
-
- public static Type GetTypeForVersion(Type type, string version)
- {
- return KindVersionsMap[type.GetKubernetesTypeMetadata().Kind][version];
- }
-
- public static void UpdateMappingConfiguration(Action configuration)
- {
- MapperConfiguration = new MapperConfiguration(cfg =>
- {
- GetConfigurations(cfg);
- configuration(cfg);
- });
- Mapper = MapperConfiguration
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .CreateMapper();
- KindVersionsMap = MapperConfiguration
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .GetAllTypeMaps()
- .SelectMany(x => new[] { x.Types.SourceType, x.Types.DestinationType })
- .Where(x => x.GetCustomAttribute() != null)
- .Select(x =>
- {
- var attr = GetKubernetesEntityAttribute(x);
- return new { attr.Kind, attr.ApiVersion, Type = x };
- })
- .GroupBy(x => x.Kind)
- .ToDictionary(x => x.Key, kindGroup => kindGroup
- .GroupBy(x => x.ApiVersion)
- .ToDictionary(
- x => x.Key,
- versionGroup => versionGroup.Select(x => x.Type).Distinct().Single())); // should only be one type for each Kind/Version combination
- }
-
- public static object ConvertToVersion(object source, string apiVersion)
- {
- if (source == null)
- {
- throw new ArgumentNullException(nameof(source));
- }
-
- var type = source.GetType();
- var attr = GetKubernetesEntityAttribute(type);
- if (attr.ApiVersion == apiVersion)
- {
- return source;
- }
-
- if (!KindVersionsMap.TryGetValue(attr.Kind, out var kindVersions))
- {
- throw new InvalidOperationException($"Version converter does not have any registered types for Kind `{attr.Kind}`");
- }
-
- if (!kindVersions.TryGetValue(apiVersion, out var targetType) || !kindVersions.TryGetValue(attr.ApiVersion, out var sourceType) ||
- MapperConfiguration
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .FindTypeMapFor(sourceType, targetType) == null)
- {
- throw new InvalidOperationException($"There is no conversion mapping registered for Kind `{attr.Kind}` from ApiVersion {attr.ApiVersion} to {apiVersion}");
- }
-
- return Mapper.Map(source, sourceType, targetType);
- }
-
- private static KubernetesEntityAttribute GetKubernetesEntityAttribute(Type type)
- {
- if (type == null)
- {
- throw new ArgumentNullException(nameof(type));
- }
-
- var attr = type.GetCustomAttribute();
- if (attr == null)
- {
- throw new InvalidOperationException($"Type {type} does not have {nameof(KubernetesEntityAttribute)}");
- }
-
- return attr;
- }
-
- internal static void GetConfigurations(IMapperConfigurationExpression cfg)
- {
- AutoConfigurations(cfg);
- ManualConfigurations(cfg);
- }
-
- private static void ManualConfigurations(IMapperConfigurationExpression cfg)
- {
- cfg.AllowNullCollections = true;
- cfg.DisableConstructorMapping();
- cfg
-#if NET6_0_OR_GREATER
- .Internal()
-#endif
- .ForAllMaps((typeMap, opt) =>
- {
- if (!typeof(IKubernetesObject).IsAssignableFrom(typeMap.Types.DestinationType))
- {
- return;
- }
-
- var metadata = typeMap.Types.DestinationType.GetKubernetesTypeMetadata();
- opt.ForMember(nameof(IKubernetesObject.ApiVersion), x => x.Ignore());
- opt.ForMember(nameof(IKubernetesObject.Kind), x => x.Ignore());
- opt.AfterMap((from, to) =>
- {
- var obj = (IKubernetesObject)to;
- obj.ApiVersion = !string.IsNullOrEmpty(metadata.Group) ? $"{metadata.Group}/{metadata.ApiVersion}" : metadata.ApiVersion;
- obj.Kind = metadata.Kind;
- });
- });
-
- cfg.CreateMap()
- .ForMember(dest => dest.Metrics, opt => opt.Ignore())
- .ForMember(dest => dest.Behavior, opt => opt.Ignore())
- .ReverseMap();
-
-
- cfg.CreateMap()
- .ForMember(dest => dest.Conditions, opt => opt.Ignore())
- .ForMember(dest => dest.CurrentMetrics, opt => opt.Ignore())
- .ReverseMap();
-
- cfg.CreateMap()
- .ForMember(dest => dest.Name, opt => opt.Ignore())
- .ReverseMap();
-
- cfg.CreateMap()
- .ForMember(dest => dest.Subjects, opt => opt.Ignore())
- .ReverseMap();
- }
-}
diff --git a/src/KubernetesClient.ModelConverter/KubernetesClient.ModelConverter.csproj b/src/KubernetesClient.ModelConverter/KubernetesClient.ModelConverter.csproj
deleted file mode 100644
index 8d6a4f539..000000000
--- a/src/KubernetesClient.ModelConverter/KubernetesClient.ModelConverter.csproj
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
- net6.0;net8.0
- k8s.ModelConverter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/KubernetesClient/Authentication/OidcTokenProvider.cs b/src/KubernetesClient/Authentication/OidcTokenProvider.cs
index ef9c35403..912ea0fde 100644
--- a/src/KubernetesClient/Authentication/OidcTokenProvider.cs
+++ b/src/KubernetesClient/Authentication/OidcTokenProvider.cs
@@ -1,23 +1,28 @@
-using IdentityModel.OidcClient;
using k8s.Exceptions;
-using System.IdentityModel.Tokens.Jwt;
+using System.Net.Http;
using System.Net.Http.Headers;
+using System.Text;
namespace k8s.Authentication
{
public class OidcTokenProvider : ITokenProvider
{
- private readonly OidcClient _oidcClient;
+ private readonly string _clientId;
+ private readonly string _clientSecret;
+ private readonly string _idpIssuerUrl;
+
private string _idToken;
private string _refreshToken;
private DateTimeOffset _expiry;
public OidcTokenProvider(string clientId, string clientSecret, string idpIssuerUrl, string idToken, string refreshToken)
{
+ _clientId = clientId;
+ _clientSecret = clientSecret;
+ _idpIssuerUrl = idpIssuerUrl;
_idToken = idToken;
_refreshToken = refreshToken;
- _oidcClient = getClient(clientId, clientSecret, idpIssuerUrl);
- _expiry = getExpiryFromToken();
+ _expiry = GetExpiryFromToken();
}
public async Task GetAuthenticationHeaderAsync(CancellationToken cancellationToken)
@@ -30,49 +35,77 @@ public async Task GetAuthenticationHeaderAsync(Cancel
return new AuthenticationHeaderValue("Bearer", _idToken);
}
- private DateTime getExpiryFromToken()
+ private DateTimeOffset GetExpiryFromToken()
{
- long expiry;
- var handler = new JwtSecurityTokenHandler();
try
{
- var token = handler.ReadJwtToken(_idToken);
- expiry = token.Payload.Expiration ?? 0;
+ var parts = _idToken.Split('.');
+ var payload = parts[1];
+ var jsonBytes = Base64UrlDecode(payload);
+ var json = Encoding.UTF8.GetString(jsonBytes);
+
+ using var document = JsonDocument.Parse(json);
+ if (document.RootElement.TryGetProperty("exp", out var expElement))
+ {
+ var exp = expElement.GetInt64();
+ return DateTimeOffset.FromUnixTimeSeconds(exp);
+ }
}
catch
{
- expiry = 0;
+ // ignore to default
}
- return DateTimeOffset.FromUnixTimeSeconds(expiry).UtcDateTime;
+ return default;
}
- private OidcClient getClient(string clientId, string clientSecret, string idpIssuerUrl)
+ private static byte[] Base64UrlDecode(string input)
{
- OidcClientOptions options = new OidcClientOptions
+ var output = input.Replace('-', '+').Replace('_', '/');
+ switch (output.Length % 4)
{
- ClientId = clientId,
- ClientSecret = clientSecret ?? "",
- Authority = idpIssuerUrl,
- };
+ case 2: output += "=="; break;
+ case 3: output += "="; break;
+ }
- return new OidcClient(options);
+ return Convert.FromBase64String(output);
}
private async Task RefreshToken()
{
try
{
- var result = await _oidcClient.RefreshTokenAsync(_refreshToken).ConfigureAwait(false);
+ using var httpClient = new HttpClient();
+ var request = new HttpRequestMessage(HttpMethod.Post, _idpIssuerUrl);
+ request.Content = new FormUrlEncodedContent(new Dictionary
+ {
+ { "grant_type", "refresh_token" },
+ { "client_id", _clientId },
+ { "client_secret", _clientSecret },
+ { "refresh_token", _refreshToken },
+ });
+
+ var response = await httpClient.SendAsync(request).ConfigureAwait(false);
+ response.EnsureSuccessStatusCode();
- if (result.IsError)
+ var responseContent = await response.Content.ReadAsStringAsync().ConfigureAwait(false);
+ var jsonDocument = JsonDocument.Parse(responseContent);
+
+ if (jsonDocument.RootElement.TryGetProperty("id_token", out var idTokenElement))
+ {
+ _idToken = idTokenElement.GetString();
+ }
+
+ if (jsonDocument.RootElement.TryGetProperty("refresh_token", out var refreshTokenElement))
{
- throw new Exception(result.Error);
+ _refreshToken = refreshTokenElement.GetString();
}
- _idToken = result.IdentityToken;
- _refreshToken = result.RefreshToken;
- _expiry = result.AccessTokenExpiration;
+ if (jsonDocument.RootElement.TryGetProperty("expires_in", out var expiresInElement))
+ {
+ var expiresIn = expiresInElement.GetInt32();
+ _expiry = DateTimeOffset.UtcNow.AddSeconds(expiresIn);
+ }
}
catch (Exception e)
{
diff --git a/src/KubernetesClient/CertUtils.cs b/src/KubernetesClient/CertUtils.cs
index 53f6078f1..7a398d7e8 100644
--- a/src/KubernetesClient/CertUtils.cs
+++ b/src/KubernetesClient/CertUtils.cs
@@ -80,11 +80,20 @@ public static X509Certificate2 GeneratePfx(KubernetesClientConfiguration config)
if (config.ClientCertificateKeyStoreFlags.HasValue)
{
+#if NET9_0_OR_GREATER
+ cert = X509CertificateLoader.LoadPkcs12(cert.Export(X509ContentType.Pkcs12), nullPassword, config.ClientCertificateKeyStoreFlags.Value);
+#else
cert = new X509Certificate2(cert.Export(X509ContentType.Pkcs12), nullPassword, config.ClientCertificateKeyStoreFlags.Value);
+#endif
+
}
else
{
+#if NET9_0_OR_GREATER
+ cert = X509CertificateLoader.LoadPkcs12(cert.Export(X509ContentType.Pkcs12), nullPassword);
+#else
cert = new X509Certificate2(cert.Export(X509ContentType.Pkcs12), nullPassword);
+#endif
}
}
diff --git a/src/KubernetesClient/ClientSets/ClientSet.cs b/src/KubernetesClient/ClientSets/ClientSet.cs
new file mode 100644
index 000000000..53aa37df9
--- /dev/null
+++ b/src/KubernetesClient/ClientSets/ClientSet.cs
@@ -0,0 +1,16 @@
+namespace k8s.ClientSets
+{
+ ///
+ /// Represents a base class for clients that interact with Kubernetes resources.
+ /// Provides shared functionality for derived resource-specific clients.
+ ///
+ public partial class ClientSet
+ {
+ private readonly Kubernetes _kubernetes;
+
+ public ClientSet(Kubernetes kubernetes)
+ {
+ _kubernetes = kubernetes;
+ }
+ }
+}
diff --git a/src/KubernetesClient/ClientSets/ResourceClient.cs b/src/KubernetesClient/ClientSets/ResourceClient.cs
new file mode 100644
index 000000000..bbf1c43e8
--- /dev/null
+++ b/src/KubernetesClient/ClientSets/ResourceClient.cs
@@ -0,0 +1,16 @@
+namespace k8s.ClientSets
+{
+ ///
+ /// Represents a set of Kubernetes clients for interacting with the Kubernetes API.
+ /// This class provides access to various client implementations for managing Kubernetes resources.
+ ///
+ public abstract class ResourceClient
+ {
+ protected Kubernetes Client { get; }
+
+ public ResourceClient(Kubernetes kubernetes)
+ {
+ Client = kubernetes;
+ }
+ }
+}
diff --git a/src/KubernetesClient/IItems.cs b/src/KubernetesClient/IItems.cs
deleted file mode 100644
index 4f23d9388..000000000
--- a/src/KubernetesClient/IItems.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-namespace k8s
-{
- ///
- /// Kubernetes object that exposes list of objects
- ///
- /// type of the objects
- public interface IItems
- {
- ///
- /// Gets or sets list of objects. More info:
- /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
- ///
- IList Items { get; set; }
- }
-
- public static class ItemsExt
- {
- public static IEnumerator GetEnumerator(this IItems items)
- {
- if (items is null)
- {
- throw new ArgumentNullException(nameof(items));
- }
-
- return items.Items.GetEnumerator();
- }
- }
-}
diff --git a/src/KubernetesClient/IKubernetes.cs b/src/KubernetesClient/IKubernetes.cs
index c3f871d64..5fa42e955 100644
--- a/src/KubernetesClient/IKubernetes.cs
+++ b/src/KubernetesClient/IKubernetes.cs
@@ -1,6 +1,6 @@
namespace k8s;
-public partial interface IKubernetes : IBasicKubernetes, IDisposable
+public partial interface IKubernetes : IDisposable
{
///
/// The base URI of the service.
diff --git a/src/KubernetesClient/IMetadata.cs b/src/KubernetesClient/IMetadata.cs
deleted file mode 100644
index edf540184..000000000
--- a/src/KubernetesClient/IMetadata.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-namespace k8s
-{
- ///
- /// Kubernetes object that exposes metadata
- ///
- /// Type of metadata exposed. Usually this will be either
- /// for lists or for objects
- public interface IMetadata
- {
- ///
- /// Gets or sets standard object's metadata. More info:
- /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
- ///
- T Metadata { get; set; }
- }
-}
diff --git a/src/KubernetesClient/ISpec.cs b/src/KubernetesClient/ISpec.cs
deleted file mode 100644
index d286b7cca..000000000
--- a/src/KubernetesClient/ISpec.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-namespace k8s
-{
- ///
- /// Represents a Kubernetes object that has a spec
- ///
- /// type of Kubernetes object
- public interface ISpec
- {
- ///
- /// Gets or sets specification of the desired behavior of the entity. More
- /// info:
- /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
- ///
- T Spec { get; set; }
- }
-}
diff --git a/src/KubernetesClient/IStreamDemuxer.cs b/src/KubernetesClient/IStreamDemuxer.cs
index 2097dcca7..ce46d40f8 100644
--- a/src/KubernetesClient/IStreamDemuxer.cs
+++ b/src/KubernetesClient/IStreamDemuxer.cs
@@ -3,13 +3,13 @@ namespace k8s
///
///
/// The interface allows you to interact with processes running in a container in a Kubernetes pod. You can start an exec or attach command
- /// by calling
- /// or . These methods
- /// will return you a connection.
+ /// by calling
+ /// or . These methods
+ /// will return you a connection.
///
///
- /// Kubernetes 'multiplexes' multiple channels over this connection, such as standard input, standard output and standard error. The
- /// allows you to extract individual s from this class. You can then use these streams to send/receive data from that process.
+ /// Kubernetes 'multiplexes' multiple channels over this connection, such as standard input, standard output and standard error. The
+ /// allows you to extract individual s from this . You can then use these streams to send/receive data from that process.
///
///
public interface IStreamDemuxer : IDisposable
diff --git a/src/KubernetesClient/IValidate.cs b/src/KubernetesClient/IValidate.cs
deleted file mode 100644
index c81f553f2..000000000
--- a/src/KubernetesClient/IValidate.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace k8s
-{
- ///
- /// Object that allows self validation
- ///
- public interface IValidate
- {
- ///
- /// Validate the object.
- ///
- void Validate();
- }
-}
diff --git a/src/KubernetesClient/Kubernetes.ConfigInit.cs b/src/KubernetesClient/Kubernetes.ConfigInit.cs
index da36c9fcf..e87e4e96a 100644
--- a/src/KubernetesClient/Kubernetes.ConfigInit.cs
+++ b/src/KubernetesClient/Kubernetes.ConfigInit.cs
@@ -213,11 +213,13 @@ public static bool CertificateValidationCallBack(
{
chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
- // Added our trusted certificates to the chain
- //
- chain.ChainPolicy.ExtraStore.AddRange(caCerts);
-
- chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllowUnknownCertificateAuthority;
+#if NET5_0_OR_GREATER
+ // Use custom trust store only, ignore system root CA
+ chain.ChainPolicy.CustomTrustStore.AddRange(caCerts);
+ chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
+#else
+ throw new NotSupportedException("Custom trust store requires .NET 5.0 or later. Current platform does not support this feature.");
+#endif
var isValid = chain.Build((X509Certificate2)certificate);
var isTrusted = false;
diff --git a/src/KubernetesClient/Kubernetes.WebSocket.cs b/src/KubernetesClient/Kubernetes.WebSocket.cs
index a3a5bc908..aeca29708 100644
--- a/src/KubernetesClient/Kubernetes.WebSocket.cs
+++ b/src/KubernetesClient/Kubernetes.WebSocket.cs
@@ -18,11 +18,11 @@ public partial class Kubernetes
///
public Task WebSocketNamespacedPodExecAsync(string name, string @namespace = "default",
string command = null, string container = null, bool stderr = true, bool stdin = true, bool stdout = true,
- bool tty = true, string webSocketSubProtol = null, Dictionary> customHeaders = null,
+ bool tty = true, string webSocketSubProtocol = null, Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
return WebSocketNamespacedPodExecAsync(name, @namespace, new string[] { command }, container, stderr, stdin,
- stdout, tty, webSocketSubProtol, customHeaders, cancellationToken);
+ stdout, tty, webSocketSubProtocol, customHeaders, cancellationToken);
}
///
@@ -30,7 +30,7 @@ public virtual async Task MuxedStreamNamespacedPodExecAsync(
string name,
string @namespace = "default", IEnumerable command = null, string container = null,
bool stderr = true, bool stdin = true, bool stdout = true, bool tty = true,
- string webSocketSubProtol = WebSocketProtocol.V4BinaryWebsocketProtocol,
+ string webSocketSubProtocol = WebSocketProtocol.V4BinaryWebsocketProtocol,
Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
@@ -45,7 +45,7 @@ public virtual async Task MuxedStreamNamespacedPodExecAsync(
public virtual Task WebSocketNamespacedPodExecAsync(string name, string @namespace = "default",
IEnumerable command = null, string container = null, bool stderr = true, bool stdin = true,
bool stdout = true, bool tty = true,
- string webSocketSubProtol = WebSocketProtocol.V4BinaryWebsocketProtocol,
+ string webSocketSubProtocol = WebSocketProtocol.V4BinaryWebsocketProtocol,
Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
@@ -114,7 +114,7 @@ public virtual Task WebSocketNamespacedPodExecAsync(string name, stri
uriBuilder.Query =
query.ToString(1, query.Length - 1); // UriBuilder.Query doesn't like leading '?' chars, so trim it
- return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtol, customHeaders,
+ return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtocol, customHeaders,
cancellationToken);
}
@@ -173,7 +173,7 @@ public Task WebSocketNamespacedPodPortForwardAsync(string name, strin
///
public Task WebSocketNamespacedPodAttachAsync(string name, string @namespace,
string container = default, bool stderr = true, bool stdin = false, bool stdout = true,
- bool tty = false, string webSocketSubProtol = null, Dictionary> customHeaders = null,
+ bool tty = false, string webSocketSubProtocol = null, Dictionary> customHeaders = null,
CancellationToken cancellationToken = default)
{
if (name == null)
@@ -208,7 +208,7 @@ public Task WebSocketNamespacedPodAttachAsync(string name, string @na
uriBuilder.Query =
query.ToString(1, query.Length - 1); // UriBuilder.Query doesn't like leading '?' chars, so trim it
- return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtol, customHeaders,
+ return StreamConnectAsync(uriBuilder.Uri, webSocketSubProtocol, customHeaders,
cancellationToken);
}
diff --git a/src/KubernetesClient/KubernetesClient.csproj b/src/KubernetesClient/KubernetesClient.csproj
index 910492b2e..dba319136 100644
--- a/src/KubernetesClient/KubernetesClient.csproj
+++ b/src/KubernetesClient/KubernetesClient.csproj
@@ -1,15 +1,12 @@
- net6.0;net8.0
+ net8.0;net9.0
k8s
true
-
-
-
diff --git a/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs b/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs
index ed5112296..f25c55bbb 100644
--- a/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs
+++ b/src/KubernetesClient/KubernetesClientConfiguration.ConfigFile.cs
@@ -307,17 +307,27 @@ private void SetClusterDetails(K8SConfiguration k8SConfig, Context activeContext
{
if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthorityData))
{
+ var data = clusterDetails.ClusterEndpoint.CertificateAuthorityData;
+#if NET9_0_OR_GREATER
+ SslCaCerts = new X509Certificate2Collection(X509CertificateLoader.LoadCertificate(Convert.FromBase64String(data)));
+#else
+ string nullPassword = null;
// This null password is to change the constructor to fix this KB:
// https://support.microsoft.com/en-us/topic/kb5025823-change-in-how-net-applications-import-x-509-certificates-bf81c936-af2b-446e-9f7a-016f4713b46b
- string nullPassword = null;
- var data = clusterDetails.ClusterEndpoint.CertificateAuthorityData;
SslCaCerts = new X509Certificate2Collection(new X509Certificate2(Convert.FromBase64String(data), nullPassword));
+#endif
}
else if (!string.IsNullOrEmpty(clusterDetails.ClusterEndpoint.CertificateAuthority))
{
+#if NET9_0_OR_GREATER
+ SslCaCerts = new X509Certificate2Collection(X509CertificateLoader.LoadCertificateFromFile(GetFullPath(
+ k8SConfig,
+ clusterDetails.ClusterEndpoint.CertificateAuthority)));
+#else
SslCaCerts = new X509Certificate2Collection(new X509Certificate2(GetFullPath(
k8SConfig,
clusterDetails.ClusterEndpoint.CertificateAuthority)));
+#endif
}
}
}
diff --git a/src/KubernetesClient/KubernetesJson.cs b/src/KubernetesClient/KubernetesJson.cs
index d0d4e9d13..69ecdf43e 100644
--- a/src/KubernetesClient/KubernetesJson.cs
+++ b/src/KubernetesClient/KubernetesJson.cs
@@ -1,14 +1,19 @@
using System.Globalization;
+using System.Text.Json.Nodes;
using System.Text.RegularExpressions;
using System.Xml;
+#if NET8_0_OR_GREATER
+using System.Text.Json.Serialization.Metadata;
+#endif
+
namespace k8s
{
public static class KubernetesJson
{
- private static readonly JsonSerializerOptions JsonSerializerOptions = new JsonSerializerOptions();
+ internal static readonly JsonSerializerOptions JsonSerializerOptions = new JsonSerializerOptions();
- private sealed class Iso8601TimeSpanConverter : JsonConverter
+ public sealed class Iso8601TimeSpanConverter : JsonConverter
{
public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
@@ -23,11 +28,11 @@ public override void Write(Utf8JsonWriter writer, TimeSpan value, JsonSerializer
}
}
- private sealed class KubernetesDateTimeOffsetConverter : JsonConverter
+ public sealed class KubernetesDateTimeOffsetConverter : JsonConverter
{
- private const string RFC3339MicroFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.ffffffK";
- private const string RFC3339NanoFormat = "yyyy-MM-dd'T'HH':'mm':'ss.fffffffK";
- private const string RFC3339Format = "yyyy'-'MM'-'dd'T'HH':'mm':'ssK";
+ private const string RFC3339MicroFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.ffffffZ";
+ private const string RFC3339NanoFormat = "yyyy-MM-dd'T'HH':'mm':'ss.fffffffZ";
+ private const string RFC3339Format = "yyyy'-'MM'-'dd'T'HH':'mm':'ssZ";
public override DateTimeOffset Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
@@ -49,13 +54,22 @@ public override DateTimeOffset Read(ref Utf8JsonReader reader, Type typeToConver
throw new FormatException($"Unable to parse {originalstr} as RFC3339 RFC3339Micro or RFC3339Nano");
}
+
public override void Write(Utf8JsonWriter writer, DateTimeOffset value, JsonSerializerOptions options)
{
- writer.WriteStringValue(value.ToString(RFC3339MicroFormat));
+ // Output as RFC3339Micro
+ var date = value.ToUniversalTime();
+
+ var basePart = date.ToString("yyyy-MM-dd'T'HH:mm:ss", CultureInfo.InvariantCulture);
+ var frac = date.ToString(".ffffff", CultureInfo.InvariantCulture)
+ .TrimEnd('0')
+ .TrimEnd('.');
+
+ writer.WriteStringValue(basePart + frac + "Z");
}
}
- private sealed class KubernetesDateTimeConverter : JsonConverter
+ public sealed class KubernetesDateTimeConverter : JsonConverter
{
private static readonly JsonConverter UtcConverter = new KubernetesDateTimeOffsetConverter();
public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
@@ -71,13 +85,22 @@ public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializer
static KubernetesJson()
{
+#if K8S_AOT
+ // Uses Source Generated IJsonTypeInfoResolver
+ JsonSerializerOptions.TypeInfoResolver = SourceGenerationContext.Default;
+#else
+#if NET8_0_OR_GREATER
+ // Uses Source Generated IJsonTypeInfoResolver when available and falls back to reflection
+ JsonSerializerOptions.TypeInfoResolver = JsonTypeInfoResolver.Combine(SourceGenerationContext.Default, new DefaultJsonTypeInfoResolver());
+#endif
+ JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
+#endif
JsonSerializerOptions.DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull;
JsonSerializerOptions.PropertyNamingPolicy = JsonNamingPolicy.CamelCase;
JsonSerializerOptions.Converters.Add(new Iso8601TimeSpanConverter());
JsonSerializerOptions.Converters.Add(new KubernetesDateTimeConverter());
JsonSerializerOptions.Converters.Add(new KubernetesDateTimeOffsetConverter());
JsonSerializerOptions.Converters.Add(new V1Status.V1StatusObjectViewConverter());
- JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
}
///
@@ -98,17 +121,92 @@ public static void AddJsonOptions(Action configure)
public static TValue Deserialize(string json, JsonSerializerOptions jsonSerializerOptions = null)
{
+#if NET8_0_OR_GREATER
+ var info = (JsonTypeInfo)(jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(typeof(TValue));
+ return JsonSerializer.Deserialize(json, info);
+#else
return JsonSerializer.Deserialize(json, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
}
public static TValue Deserialize(Stream json, JsonSerializerOptions jsonSerializerOptions = null)
{
+#if NET8_0_OR_GREATER
+ var info = (JsonTypeInfo)(jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(typeof(TValue));
+ return JsonSerializer.Deserialize(json, info);
+#else
+ return JsonSerializer.Deserialize(json, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
+ }
+
+ public static TValue Deserialize(JsonDocument json, JsonSerializerOptions jsonSerializerOptions = null)
+ {
+#if NET8_0_OR_GREATER
+ var info = (JsonTypeInfo)(jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(typeof(TValue));
+ return JsonSerializer.Deserialize(json, info);
+#else
+ return JsonSerializer.Deserialize(json, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
+ }
+
+ public static TValue Deserialize(JsonElement json, JsonSerializerOptions jsonSerializerOptions = null)
+ {
+#if NET8_0_OR_GREATER
+ var info = (JsonTypeInfo)(jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(typeof(TValue));
+ return JsonSerializer.Deserialize(json, info);
+#else
+ return JsonSerializer.Deserialize(json, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
+ }
+
+ public static TValue Deserialize(JsonNode json, JsonSerializerOptions jsonSerializerOptions = null)
+ {
+#if NET8_0_OR_GREATER
+ var info = (JsonTypeInfo)(jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(typeof(TValue));
+ return JsonSerializer.Deserialize(json, info);
+#else
return JsonSerializer.Deserialize(json, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
}
public static string Serialize(object value, JsonSerializerOptions jsonSerializerOptions = null)
{
+#if NET8_0_OR_GREATER
+ var info = (jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(value.GetType());
+ return JsonSerializer.Serialize(value, info);
+#else
+ return JsonSerializer.Serialize(value, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
+ }
+
+ public static string Serialize(JsonDocument value, JsonSerializerOptions jsonSerializerOptions = null)
+ {
+#if NET8_0_OR_GREATER
+ var info = (jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(value.GetType());
+ return JsonSerializer.Serialize(value, info);
+#else
+ return JsonSerializer.Serialize(value, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
+ }
+
+ public static string Serialize(JsonElement value, JsonSerializerOptions jsonSerializerOptions = null)
+ {
+#if NET8_0_OR_GREATER
+ var info = (jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(value.GetType());
+ return JsonSerializer.Serialize(value, info);
+#else
+ return JsonSerializer.Serialize(value, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
+ }
+
+ public static string Serialize(JsonNode value, JsonSerializerOptions jsonSerializerOptions = null)
+ {
+#if NET8_0_OR_GREATER
+ var info = (jsonSerializerOptions ?? JsonSerializerOptions).GetTypeInfo(value.GetType());
+ return JsonSerializer.Serialize(value, info);
+#else
return JsonSerializer.Serialize(value, jsonSerializerOptions ?? JsonSerializerOptions);
+#endif
}
}
}
diff --git a/src/KubernetesClient/KubernetesYaml.cs b/src/KubernetesClient/KubernetesYaml.cs
index 7f677a3f2..ef5384c72 100644
--- a/src/KubernetesClient/KubernetesYaml.cs
+++ b/src/KubernetesClient/KubernetesYaml.cs
@@ -21,6 +21,8 @@ public static class KubernetesYaml
.WithTypeConverter(new IntOrStringYamlConverter())
.WithTypeConverter(new ByteArrayStringYamlConverter())
.WithTypeConverter(new ResourceQuantityYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeOffsetYamlConverter())
.WithAttemptingUnquotedStringTypeDeserialization()
.WithOverridesFromJsonPropertyAttributes();
@@ -41,6 +43,8 @@ public static class KubernetesYaml
.WithTypeConverter(new IntOrStringYamlConverter())
.WithTypeConverter(new ByteArrayStringYamlConverter())
.WithTypeConverter(new ResourceQuantityYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeYamlConverter())
+ .WithTypeConverter(new KubernetesDateTimeOffsetYamlConverter())
.WithEventEmitter(e => new StringQuotingEmitter(e))
.WithEventEmitter(e => new FloatEmitter(e))
.ConfigureDefaultValuesHandling(DefaultValuesHandling.OmitNull)
@@ -78,7 +82,7 @@ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeseria
return null;
}
- return Encoding.UTF8.GetBytes(scalar.Value);
+ return Convert.FromBase64String(scalar.Value);
}
finally
{
@@ -91,8 +95,15 @@ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeseria
public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
{
+ if (value == null)
+ {
+ emitter.Emit(new Scalar(string.Empty));
+ return;
+ }
+
var obj = (byte[])value;
- emitter?.Emit(new Scalar(Encoding.UTF8.GetString(obj)));
+ var encoded = Convert.ToBase64String(obj);
+ emitter.Emit(new Scalar(encoded));
}
}
diff --git a/src/KubernetesClient/LeaderElection/LeaderElector.cs b/src/KubernetesClient/LeaderElection/LeaderElector.cs
index eb96b48a2..e7d86f9af 100644
--- a/src/KubernetesClient/LeaderElection/LeaderElector.cs
+++ b/src/KubernetesClient/LeaderElection/LeaderElector.cs
@@ -163,10 +163,9 @@ private async Task TryAcquireOrRenew(CancellationToken cancellationToken)
{
if (e.Response.StatusCode != HttpStatusCode.NotFound)
{
+ OnError?.Invoke(e);
return false;
}
-
- OnError?.Invoke(e);
}
if (oldLeaderElectionRecord?.AcquireTime == null ||
diff --git a/src/KubernetesClient/LeaderElection/ResourceLock/MetaObjectLock.cs b/src/KubernetesClient/LeaderElection/ResourceLock/MetaObjectLock.cs
index 4d97842d8..e2540482f 100644
--- a/src/KubernetesClient/LeaderElection/ResourceLock/MetaObjectLock.cs
+++ b/src/KubernetesClient/LeaderElection/ResourceLock/MetaObjectLock.cs
@@ -9,6 +9,11 @@ public abstract class MetaObjectLock : ILock
private readonly string identity;
private T metaObjCache;
+ ///
+ /// OnHttpError is called when there is a http operation error.
+ ///
+ public event Action OnHttpError;
+
protected MetaObjectLock(IKubernetes client, string @namespace, string name, string identity)
{
this.client = client ?? throw new ArgumentNullException(nameof(client));
@@ -47,8 +52,9 @@ public async Task CreateAsync(LeaderElectionRecord record, CancellationTok
Interlocked.Exchange(ref metaObjCache, createdObj);
return true;
}
- catch (HttpOperationException)
+ catch (HttpOperationException e)
{
+ OnHttpError?.Invoke(e);
// ignore
}
@@ -79,8 +85,9 @@ public async Task UpdateAsync(LeaderElectionRecord record, CancellationTok
Interlocked.Exchange(ref metaObjCache, replacedObj);
return true;
}
- catch (HttpOperationException)
+ catch (HttpOperationException e)
{
+ OnHttpError?.Invoke(e);
// ignore
}
diff --git a/src/KubernetesClient/Models/IItems.cs b/src/KubernetesClient/Models/IItems.cs
new file mode 100644
index 000000000..b82c4c3de
--- /dev/null
+++ b/src/KubernetesClient/Models/IItems.cs
@@ -0,0 +1,27 @@
+namespace k8s.Models;
+
+///
+/// Kubernetes object that exposes list of objects
+///
+/// type of the objects
+public interface IItems
+{
+ ///
+ /// Gets or sets list of objects. More info:
+ /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
+ ///
+ IList Items { get; set; }
+}
+
+public static class ItemsExt
+{
+ public static IEnumerator GetEnumerator(this IItems items)
+ {
+ if (items is null)
+ {
+ throw new ArgumentNullException(nameof(items));
+ }
+
+ return items.Items.GetEnumerator();
+ }
+}
diff --git a/src/KubernetesClient/Models/IMetadata.cs b/src/KubernetesClient/Models/IMetadata.cs
new file mode 100644
index 000000000..4fa7f3292
--- /dev/null
+++ b/src/KubernetesClient/Models/IMetadata.cs
@@ -0,0 +1,15 @@
+namespace k8s.Models;
+
+///
+/// Kubernetes object that exposes metadata
+///
+/// Type of metadata exposed. Usually this will be either
+/// for lists or for objects
+public interface IMetadata
+{
+ ///
+ /// Gets or sets standard object's metadata. More info:
+ /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ ///
+ T Metadata { get; set; }
+}
diff --git a/src/KubernetesClient/Models/ISpec.cs b/src/KubernetesClient/Models/ISpec.cs
new file mode 100644
index 000000000..d05d62fab
--- /dev/null
+++ b/src/KubernetesClient/Models/ISpec.cs
@@ -0,0 +1,15 @@
+namespace k8s.Models;
+
+///
+/// Represents a Kubernetes object that has a spec
+///
+/// type of Kubernetes object
+public interface ISpec
+{
+ ///
+ /// Gets or sets specification of the desired behavior of the entity. More
+ /// info:
+ /// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
+ ///
+ T Spec { get; set; }
+}
diff --git a/src/KubernetesClient/IStatus.cs b/src/KubernetesClient/Models/IStatus.cs
similarity index 96%
rename from src/KubernetesClient/IStatus.cs
rename to src/KubernetesClient/Models/IStatus.cs
index e60f59fec..75d796666 100644
--- a/src/KubernetesClient/IStatus.cs
+++ b/src/KubernetesClient/Models/IStatus.cs
@@ -1,4 +1,4 @@
-namespace k8s
+namespace k8s.Models
{
///
/// Kubernetes object that exposes status
diff --git a/src/KubernetesClient/Models/IntOrString.cs b/src/KubernetesClient/Models/IntOrString.cs
new file mode 100644
index 000000000..65e9cd486
--- /dev/null
+++ b/src/KubernetesClient/Models/IntOrString.cs
@@ -0,0 +1,38 @@
+namespace k8s.Models
+{
+ [JsonConverter(typeof(IntOrStringJsonConverter))]
+ public class IntOrString
+ {
+ public string Value { get; private init; }
+
+ public static implicit operator IntOrString(int v)
+ {
+ return Convert.ToString(v);
+ }
+
+ public static implicit operator IntOrString(long v)
+ {
+ return Convert.ToString(v);
+ }
+
+ public static implicit operator string(IntOrString v)
+ {
+ return v?.Value;
+ }
+
+ public static implicit operator IntOrString(string v)
+ {
+ return new IntOrString { Value = v };
+ }
+
+ public override string ToString()
+ {
+ return Value;
+ }
+
+ public int ToInt()
+ {
+ return int.Parse(Value);
+ }
+ }
+}
diff --git a/src/KubernetesClient/Models/IntOrStringJsonConverter.cs b/src/KubernetesClient/Models/IntOrStringJsonConverter.cs
index 9b665a30c..c7cbe273a 100644
--- a/src/KubernetesClient/Models/IntOrStringJsonConverter.cs
+++ b/src/KubernetesClient/Models/IntOrStringJsonConverter.cs
@@ -1,8 +1,8 @@
namespace k8s.Models
{
- internal sealed class IntOrStringJsonConverter : JsonConverter
+ internal sealed class IntOrStringJsonConverter : JsonConverter
{
- public override IntstrIntOrString Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
+ public override IntOrString Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
switch (reader.TokenType)
{
@@ -17,14 +17,14 @@ public override IntstrIntOrString Read(ref Utf8JsonReader reader, Type typeToCon
throw new NotSupportedException();
}
- public override void Write(Utf8JsonWriter writer, IntstrIntOrString value, JsonSerializerOptions options)
+ public override void Write(Utf8JsonWriter writer, IntOrString value, JsonSerializerOptions options)
{
if (writer == null)
{
throw new ArgumentNullException(nameof(writer));
}
- var s = value?.Value;
+ var s = value.Value;
if (long.TryParse(s, out var intv))
{
diff --git a/src/KubernetesClient/Models/IntOrStringYamlConverter.cs b/src/KubernetesClient/Models/IntOrStringYamlConverter.cs
index 49116bd6c..cfaa42205 100644
--- a/src/KubernetesClient/Models/IntOrStringYamlConverter.cs
+++ b/src/KubernetesClient/Models/IntOrStringYamlConverter.cs
@@ -7,7 +7,7 @@ public class IntOrStringYamlConverter : IYamlTypeConverter
{
public bool Accepts(Type type)
{
- return type == typeof(IntstrIntOrString);
+ return type == typeof(IntOrString);
}
public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)
@@ -21,7 +21,7 @@ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeseria
return null;
}
- return new IntstrIntOrString(scalar?.Value);
+ return scalar?.Value;
}
finally
{
@@ -34,7 +34,7 @@ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeseria
public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
{
- var obj = (IntstrIntOrString)value;
+ var obj = (IntOrString)value;
emitter?.Emit(new YamlDotNet.Core.Events.Scalar(obj?.Value));
}
}
diff --git a/src/KubernetesClient/Models/IntstrIntOrString.cs b/src/KubernetesClient/Models/IntstrIntOrString.cs
deleted file mode 100644
index 6f378df9b..000000000
--- a/src/KubernetesClient/Models/IntstrIntOrString.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-namespace k8s.Models
-{
- [JsonConverter(typeof(IntOrStringJsonConverter))]
- public partial class IntstrIntOrString
- {
- public static implicit operator IntstrIntOrString(int v)
- {
- return new IntstrIntOrString(Convert.ToString(v));
- }
-
- public static implicit operator IntstrIntOrString(long v)
- {
- return new IntstrIntOrString(Convert.ToString(v));
- }
-
- public static implicit operator string(IntstrIntOrString v)
- {
- return v?.Value;
- }
-
- public static implicit operator IntstrIntOrString(string v)
- {
- return new IntstrIntOrString(v);
- }
-
- protected bool Equals(IntstrIntOrString other)
- {
- return string.Equals(Value, other?.Value);
- }
-
- public override bool Equals(object obj)
- {
- if (ReferenceEquals(null, obj))
- {
- return false;
- }
-
- if (ReferenceEquals(this, obj))
- {
- return true;
- }
-
- if (obj.GetType() != GetType())
- {
- return false;
- }
-
- return Equals((IntstrIntOrString)obj);
- }
-
- public override int GetHashCode()
- {
- return Value != null ? Value.GetHashCode() : 0;
- }
- }
-}
diff --git a/src/KubernetesClient/Models/KubernetesDateTimeOffsetYamlConverter.cs b/src/KubernetesClient/Models/KubernetesDateTimeOffsetYamlConverter.cs
new file mode 100644
index 000000000..5eb4153eb
--- /dev/null
+++ b/src/KubernetesClient/Models/KubernetesDateTimeOffsetYamlConverter.cs
@@ -0,0 +1,64 @@
+using System.Globalization;
+using System.Text.RegularExpressions;
+using YamlDotNet.Core;
+using YamlDotNet.Core.Events;
+using YamlDotNet.Serialization;
+
+namespace k8s.Models;
+
+public sealed class KubernetesDateTimeOffsetYamlConverter : IYamlTypeConverter
+{
+ private const string RFC3339MicroFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.ffffff'Z'";
+ private const string RFC3339NanoFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffff'Z'";
+ private const string RFC3339Format = "yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z'";
+
+ public bool Accepts(Type type) => type == typeof(DateTimeOffset);
+
+ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)
+ {
+ if (parser?.Current is Scalar scalar)
+ {
+ try
+ {
+ if (string.IsNullOrEmpty(scalar.Value))
+ {
+ return null;
+ }
+
+ var str = scalar.Value;
+
+ if (DateTimeOffset.TryParseExact(str, new[] { RFC3339Format, RFC3339MicroFormat }, CultureInfo.InvariantCulture, DateTimeStyles.None, out var result))
+ {
+ return result;
+ }
+
+ // try RFC3339NanoLenient by trimming 1-9 digits to 7 digits
+ var originalstr = str;
+ str = Regex.Replace(str, @"\.\d+", m => (m.Value + "000000000").Substring(0, 7 + 1)); // 7 digits + 1 for the dot
+ if (DateTimeOffset.TryParseExact(str, new[] { RFC3339NanoFormat }, CultureInfo.InvariantCulture, DateTimeStyles.None, out result))
+ {
+ return result;
+ }
+ }
+ finally
+ {
+ parser.MoveNext();
+ }
+ }
+
+ throw new InvalidOperationException($"Unable to parse '{parser.Current?.ToString()}' as RFC3339, RFC3339Micro, or RFC3339Nano");
+ }
+
+ public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
+ {
+ // Output as RFC3339Micro
+ var date = ((DateTimeOffset)value).ToUniversalTime();
+
+ var basePart = date.ToString("yyyy-MM-dd'T'HH:mm:ss", CultureInfo.InvariantCulture);
+ var frac = date.ToString(".ffffff", CultureInfo.InvariantCulture)
+ .TrimEnd('0')
+ .TrimEnd('.');
+
+ emitter.Emit(new Scalar(AnchorName.Empty, TagName.Empty, basePart + frac + "Z", ScalarStyle.DoubleQuoted, true, false));
+ }
+}
diff --git a/src/KubernetesClient/Models/KubernetesDateTimeYamlConverter.cs b/src/KubernetesClient/Models/KubernetesDateTimeYamlConverter.cs
new file mode 100644
index 000000000..d6095983d
--- /dev/null
+++ b/src/KubernetesClient/Models/KubernetesDateTimeYamlConverter.cs
@@ -0,0 +1,23 @@
+using YamlDotNet.Core;
+using YamlDotNet.Serialization;
+
+namespace k8s.Models;
+
+public sealed class KubernetesDateTimeYamlConverter : IYamlTypeConverter
+{
+ private static readonly KubernetesDateTimeOffsetYamlConverter OffsetConverter = new();
+
+ public bool Accepts(Type type) => type == typeof(DateTime);
+
+ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeserializer)
+ {
+ var dto = (DateTimeOffset)OffsetConverter.ReadYaml(parser, typeof(DateTimeOffset), rootDeserializer);
+ return dto.DateTime;
+ }
+
+ public void WriteYaml(IEmitter emitter, object value, Type type, ObjectSerializer serializer)
+ {
+ var date = new DateTimeOffset((DateTime)value);
+ OffsetConverter.WriteYaml(emitter, date, typeof(DateTimeOffset), serializer);
+ }
+}
diff --git a/src/KubernetesClient/Models/KubernetesList.cs b/src/KubernetesClient/Models/KubernetesList.cs
index e8167fd75..069c410b2 100644
--- a/src/KubernetesClient/Models/KubernetesList.cs
+++ b/src/KubernetesClient/Models/KubernetesList.cs
@@ -40,27 +40,5 @@ public KubernetesList(IList items, string apiVersion = default, string kind =
///
[JsonPropertyName("metadata")]
public V1ListMeta Metadata { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public void Validate()
- {
- if (Items == null)
- {
- throw new ArgumentNullException("Items");
- }
-
- if (Items != null)
- {
- foreach (var element in Items.OfType())
- {
- element.Validate();
- }
- }
- }
}
}
diff --git a/src/KubernetesClient/Models/ModelExtensions.cs b/src/KubernetesClient/Models/ModelExtensions.cs
index 0f4903b93..f2c6f6045 100644
--- a/src/KubernetesClient/Models/ModelExtensions.cs
+++ b/src/KubernetesClient/Models/ModelExtensions.cs
@@ -208,7 +208,7 @@ public static int FindOwnerReference(this IMetadata obj, IKubernet
/// reference could be found.
///
/// the object meta
- /// a to test owner reference
+ /// a to test owner reference
/// the index of the that matches the given object, or -1 if no such
/// reference could be found.
public static int FindOwnerReference(this IMetadata obj, Predicate predicate)
@@ -300,7 +300,7 @@ public static V1OwnerReference GetOwnerReference(
/// Gets the that matches the given predicate, or null if no matching reference exists.
/// the object meta
- /// a to test owner reference
+ /// a to test owner reference
/// the that matches the given object, or null if no matching reference exists.
public static V1OwnerReference GetOwnerReference(
this IMetadata obj,
@@ -400,7 +400,7 @@ public static V1OwnerReference RemoveOwnerReference(
/// any were removed.
///
/// the object meta
- /// a to test owner reference
+ /// a to test owner reference
/// true if any were removed
public static bool RemoveOwnerReferences(
this IMetadata obj,
diff --git a/src/KubernetesClient/Models/ModelVersionConverter.cs b/src/KubernetesClient/Models/ModelVersionConverter.cs
deleted file mode 100644
index e48f39787..000000000
--- a/src/KubernetesClient/Models/ModelVersionConverter.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-namespace k8s.Models;
-
-public static class ModelVersionConverter
-{
- public interface IModelVersionConverter
- {
- TTo Convert(TFrom from);
- }
-
- public static IModelVersionConverter Converter { get; set; }
-
- internal static TTo Convert(TFrom from)
- {
- if (Converter == null)
- {
- throw new InvalidOperationException("Converter is not set");
- }
-
- return Converter.Convert(from);
- }
-}
diff --git a/src/KubernetesClient/Models/ResourceQuantity.cs b/src/KubernetesClient/Models/ResourceQuantity.cs
index 2d1a4898d..eee89c678 100644
--- a/src/KubernetesClient/Models/ResourceQuantity.cs
+++ b/src/KubernetesClient/Models/ResourceQuantity.cs
@@ -54,7 +54,7 @@ namespace k8s.Models
/// cause implementors to also use a fixed point implementation.
///
[JsonConverter(typeof(ResourceQuantityJsonConverter))]
- public partial class ResourceQuantity
+ public class ResourceQuantity
{
public enum SuffixFormat
{
@@ -97,39 +97,6 @@ public override string ToString()
return CanonicalizeString();
}
- protected bool Equals(ResourceQuantity other)
- {
- return _unitlessValue.Equals(other?._unitlessValue);
- }
-
- public override bool Equals(object obj)
- {
- if (ReferenceEquals(null, obj))
- {
- return false;
- }
-
- if (ReferenceEquals(this, obj))
- {
- return true;
- }
-
- if (obj.GetType() != GetType())
- {
- return false;
- }
-
- return Equals((ResourceQuantity)obj);
- }
-
- public override int GetHashCode()
- {
- unchecked
- {
- return ((int)Format * 397) ^ _unitlessValue.GetHashCode();
- }
- }
-
//
// CanonicalizeString = go version CanonicalizeBytes
// CanonicalizeBytes returns the canonical form of q and its suffix (see comment on Quantity).
@@ -157,10 +124,9 @@ public string CanonicalizeString(SuffixFormat suffixFormat)
return Suffixer.AppendMaxSuffix(_unitlessValue, suffixFormat);
}
- // ctor
- partial void CustomInit()
+ public ResourceQuantity(string v)
{
- if (Value == null)
+ if (v == null)
{
// No value has been defined, initialize to 0.
_unitlessValue = new Fraction(0);
@@ -168,7 +134,7 @@ partial void CustomInit()
return;
}
- var value = Value.Trim();
+ var value = v.Trim();
var si = value.IndexOfAny(SuffixChars);
if (si == -1)
@@ -188,6 +154,11 @@ partial void CustomInit()
}
}
+ public static implicit operator ResourceQuantity(string v)
+ {
+ return new ResourceQuantity(v);
+ }
+
private static bool HasMantissa(Fraction value)
{
if (value.IsZero)
@@ -200,7 +171,7 @@ private static bool HasMantissa(Fraction value)
public static implicit operator decimal(ResourceQuantity v)
{
- return v?.ToDecimal() ?? 0;
+ return v.ToDecimal();
}
public static implicit operator ResourceQuantity(decimal v)
@@ -208,6 +179,46 @@ public static implicit operator ResourceQuantity(decimal v)
return new ResourceQuantity(v, 0, SuffixFormat.DecimalExponent);
}
+ public bool Equals(ResourceQuantity other)
+ {
+ if (ReferenceEquals(null, other))
+ {
+ return false;
+ }
+
+ if (ReferenceEquals(this, other))
+ {
+ return true;
+ }
+
+ return _unitlessValue.Equals(other._unitlessValue);
+ }
+
+ public override bool Equals(object obj)
+ {
+ return Equals(obj as ResourceQuantity);
+ }
+
+ public override int GetHashCode()
+ {
+ return _unitlessValue.GetHashCode();
+ }
+
+ public static bool operator ==(ResourceQuantity left, ResourceQuantity right)
+ {
+ if (left is null)
+ {
+ return right is null;
+ }
+
+ return left.Equals(right);
+ }
+
+ public static bool operator !=(ResourceQuantity left, ResourceQuantity right)
+ {
+ return !(left == right);
+ }
+
private sealed class Suffixer
{
private static readonly IReadOnlyDictionary BinSuffixes =
diff --git a/src/KubernetesClient/Models/ResourceQuantityJsonConverter.cs b/src/KubernetesClient/Models/ResourceQuantityJsonConverter.cs
index 613208679..a99eb334b 100644
--- a/src/KubernetesClient/Models/ResourceQuantityJsonConverter.cs
+++ b/src/KubernetesClient/Models/ResourceQuantityJsonConverter.cs
@@ -8,16 +8,16 @@ public override ResourceQuantity Read(ref Utf8JsonReader reader, Type typeToConv
switch (reader.TokenType)
{
case JsonTokenType.Null:
- return new ResourceQuantity(null);
+ return null;
case JsonTokenType.Number:
if (reader.TryGetDouble(out var val))
{
- return new ResourceQuantity(Convert.ToString(val));
+ return Convert.ToString(val);
}
return reader.GetDecimal();
default:
- return new ResourceQuantity(reader.GetString());
+ return reader.GetString();
}
}
@@ -28,7 +28,7 @@ public override void Write(Utf8JsonWriter writer, ResourceQuantity value, JsonSe
throw new ArgumentNullException(nameof(writer));
}
- writer.WriteStringValue(value?.ToString());
+ writer.WriteStringValue(value.ToString());
}
}
}
diff --git a/src/KubernetesClient/Models/ResourceQuantityYamlConverter.cs b/src/KubernetesClient/Models/ResourceQuantityYamlConverter.cs
index ce0ec8e54..1006a3cd7 100644
--- a/src/KubernetesClient/Models/ResourceQuantityYamlConverter.cs
+++ b/src/KubernetesClient/Models/ResourceQuantityYamlConverter.cs
@@ -21,7 +21,7 @@ public object ReadYaml(IParser parser, Type type, ObjectDeserializer rootDeseria
return null;
}
- return new ResourceQuantity(scalar?.Value);
+ return scalar?.Value;
}
finally
{
diff --git a/src/KubernetesClient/Models/V1Patch.cs b/src/KubernetesClient/Models/V1Patch.cs
index 4f8f44c50..5838e4b05 100644
--- a/src/KubernetesClient/Models/V1Patch.cs
+++ b/src/KubernetesClient/Models/V1Patch.cs
@@ -1,7 +1,7 @@
namespace k8s.Models
{
[JsonConverter(typeof(V1PatchJsonConverter))]
- public partial class V1Patch
+ public record V1Patch
{
public enum PatchType
{
@@ -31,26 +31,21 @@ public enum PatchType
ApplyPatch,
}
+ [JsonPropertyName("content")]
+ [JsonInclude]
+ public object Content { get; private set; }
+
public PatchType Type { get; private set; }
public V1Patch(object body, PatchType type)
{
- Content = body;
- Type = type;
- CustomInit();
- }
-
- partial void CustomInit()
- {
- if (Content == null)
+ if (type == PatchType.Unknown)
{
- throw new ArgumentNullException(nameof(Content), "object must be set");
+ throw new ArgumentException("patch type must be set", nameof(type));
}
- if (Type == PatchType.Unknown)
- {
- throw new ArgumentException("patch type must be set", nameof(Type));
- }
+ Content = body ?? throw new ArgumentNullException(nameof(body), "object must be set");
+ Type = type;
}
}
}
diff --git a/src/KubernetesClient/Models/V1PodTemplateSpec.cs b/src/KubernetesClient/Models/V1PodTemplateSpec.cs
index 0462b5373..4efa3cdbb 100644
--- a/src/KubernetesClient/Models/V1PodTemplateSpec.cs
+++ b/src/KubernetesClient/Models/V1PodTemplateSpec.cs
@@ -4,7 +4,7 @@ namespace k8s.Models
/// Partial implementation of the IMetadata interface
/// to open this class up to ModelExtensions methods
///
- public partial class V1PodTemplateSpec : IMetadata
+ public partial record V1PodTemplateSpec : IMetadata
{
}
}
diff --git a/src/KubernetesClient/Models/V1Status.ObjectView.cs b/src/KubernetesClient/Models/V1Status.ObjectView.cs
index 6f5a1ae85..710657847 100644
--- a/src/KubernetesClient/Models/V1Status.ObjectView.cs
+++ b/src/KubernetesClient/Models/V1Status.ObjectView.cs
@@ -1,23 +1,28 @@
namespace k8s.Models
{
- public partial class V1Status
+ public partial record V1Status
{
- internal sealed class V1StatusObjectViewConverter : JsonConverter
+ public sealed class V1StatusObjectViewConverter : JsonConverter
{
public override V1Status Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
{
- var obj = JsonElement.ParseValue(ref reader);
+ using var doc = JsonDocument.ParseValue(ref reader);
+ var ele = doc.RootElement.Clone();
try
{
- return obj.Deserialize();
+#if NET8_0_OR_GREATER
+ return JsonSerializer.Deserialize(ele, StatusSourceGenerationContext.Default.V1Status);
+#else
+ return ele.Deserialize();
+#endif
}
catch (JsonException)
{
// should be an object
}
- return new V1Status { _original = obj, HasObject = true };
+ return new V1Status { _original = ele, HasObject = true };
}
public override void Write(Utf8JsonWriter writer, V1Status value, JsonSerializerOptions options)
@@ -32,7 +37,11 @@ public override void Write(Utf8JsonWriter writer, V1Status value, JsonSerializer
public T ObjectView()
{
+#if NET8_0_OR_GREATER
+ return KubernetesJson.Deserialize(_original);
+#else
return _original.Deserialize();
+#endif
}
}
}
diff --git a/src/KubernetesClient/Models/V1Status.cs b/src/KubernetesClient/Models/V1Status.cs
index 87e4be055..d69116d2e 100644
--- a/src/KubernetesClient/Models/V1Status.cs
+++ b/src/KubernetesClient/Models/V1Status.cs
@@ -2,7 +2,7 @@
namespace k8s.Models
{
- public partial class V1Status
+ public partial record V1Status
{
/// Converts a object into a short description of the status.
/// string description of the status
diff --git a/src/KubernetesClient/SourceGenerationContext.cs b/src/KubernetesClient/SourceGenerationContext.cs
new file mode 100644
index 000000000..22cc9fa00
--- /dev/null
+++ b/src/KubernetesClient/SourceGenerationContext.cs
@@ -0,0 +1,28 @@
+using static k8s.KubernetesJson;
+using static k8s.Models.V1Status;
+
+namespace k8s;
+
+[JsonSourceGenerationOptions(
+ DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
+ PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
+ UseStringEnumConverter = true,
+ Converters = new[] { typeof(Iso8601TimeSpanConverter), typeof(KubernetesDateTimeConverter), typeof(KubernetesDateTimeOffsetConverter), typeof(V1StatusObjectViewConverter) })
+ ]
+public partial class SourceGenerationContext : JsonSerializerContext
+{
+}
+
+///
+/// Used by V1Status in order to avoid the recursive loop as SourceGenerationContext contains V1StatusObjectViewConverter
+///
+[JsonSerializable(typeof(V1Status))]
+[JsonSourceGenerationOptions(
+ DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
+ PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
+ UseStringEnumConverter = true,
+ Converters = new[] { typeof(Iso8601TimeSpanConverter), typeof(KubernetesDateTimeConverter), typeof(KubernetesDateTimeOffsetConverter) })
+ ]
+public partial class StatusSourceGenerationContext : JsonSerializerContext
+{
+}
diff --git a/src/KubernetesClient/StreamDemuxer.cs b/src/KubernetesClient/StreamDemuxer.cs
index 3cebd172e..30263b9eb 100644
--- a/src/KubernetesClient/StreamDemuxer.cs
+++ b/src/KubernetesClient/StreamDemuxer.cs
@@ -7,13 +7,13 @@ namespace k8s
///
///
/// The allows you to interact with processes running in a container in a Kubernetes pod. You can start an exec or attach command
- /// by calling
- /// or . These methods
- /// will return you a connection.
+ /// by calling
+ /// or . These methods
+ /// will return you a connection.
///
///
- /// Kubernetes 'multiplexes' multiple channels over this connection, such as standard input, standard output and standard error. The
- /// allows you to extract individual s from this class. You can then use these streams to send/receive data from that process.
+ /// Kubernetes 'multiplexes' multiple channels over this connection, such as standard input, standard output and standard error. The
+ /// allows you to extract individual s from this . You can then use these streams to send/receive data from that process.
///
///
public class StreamDemuxer : IStreamDemuxer
diff --git a/src/KubernetesClient/WatcherExt.cs b/src/KubernetesClient/WatcherExt.cs
index 7b2fe9308..28863341f 100644
--- a/src/KubernetesClient/WatcherExt.cs
+++ b/src/KubernetesClient/WatcherExt.cs
@@ -11,11 +11,12 @@ public static class WatcherExt
/// type of the HttpOperationResponse object
/// the api response
/// a callback when any event raised from api server
- /// a callbak when any exception was caught during watching
+ /// a callback when any exception was caught during watching
///
/// The action to invoke when the server closes the connection.
///
/// a watch object
+ [Obsolete("This method will be deprecated in future versions. Please use the Watch method instead.")]
public static Watcher Watch(
this Task> responseTask,
Action onEvent,
@@ -47,11 +48,12 @@ private static Func> MakeStreamReaderCreator(Tasktype of the HttpOperationResponse object
/// the api response
/// a callback when any event raised from api server
- /// a callbak when any exception was caught during watching
+ /// a callback when any exception was caught during watching
///
/// The action to invoke when the server closes the connection.
///
/// a watch object
+ [Obsolete("This method will be deprecated in future versions. Please use the Watch method instead.")]
public static Watcher Watch(
this HttpOperationResponse response,
Action onEvent,
@@ -68,9 +70,10 @@ public static Watcher Watch(
/// type of the event object
/// type of the HttpOperationResponse object
/// the api response
- /// a callbak when any exception was caught during watching
+ /// a callback when any exception was caught during watching
/// cancellation token
/// IAsyncEnumerable of watch events
+ [Obsolete("This method will be deprecated in future versions. Please use the WatchAsync method instead.")]
public static IAsyncEnumerable<(WatchEventType, T)> WatchAsync(
this Task> responseTask,
Action onError = null,
diff --git a/src/LibKubernetesGenerator/ApiGenerator.cs b/src/LibKubernetesGenerator/ApiGenerator.cs
index 63fd9667e..37f135db5 100644
--- a/src/LibKubernetesGenerator/ApiGenerator.cs
+++ b/src/LibKubernetesGenerator/ApiGenerator.cs
@@ -71,7 +71,7 @@ public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializa
sc = scriptObjectFactory.CreateScriptObject();
sc.SetValue("groups", groups, true);
- context.RenderToContext($"IBasicKubernetes.cs.template", sc, $"IBasicKubernetes.g.cs");
+ context.RenderToContext($"IKubernetes.cs.template", sc, $"IKubernetes.g.cs");
context.RenderToContext($"AbstractKubernetes.cs.template", sc, $"AbstractKubernetes.g.cs");
}
}
diff --git a/src/LibKubernetesGenerator/ClassNameHelper.cs b/src/LibKubernetesGenerator/ClassNameHelper.cs
index a307a160f..a3b012f29 100644
--- a/src/LibKubernetesGenerator/ClassNameHelper.cs
+++ b/src/LibKubernetesGenerator/ClassNameHelper.cs
@@ -78,6 +78,12 @@ public string GetClassNameForSchemaDefinition(JsonSchema definition)
}
+ if (definition.Format == "int-or-string")
+ {
+ return "IntOrString";
+ }
+
+
return schemaToNameMapCooked[definition];
}
}
diff --git a/src/LibKubernetesGenerator/ClientSetGenerator.cs b/src/LibKubernetesGenerator/ClientSetGenerator.cs
new file mode 100644
index 000000000..a0b392d8b
--- /dev/null
+++ b/src/LibKubernetesGenerator/ClientSetGenerator.cs
@@ -0,0 +1,103 @@
+using CaseExtensions;
+using Microsoft.CodeAnalysis;
+using NSwag;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace LibKubernetesGenerator
+{
+ internal class ClientSetGenerator
+ {
+ private readonly ScriptObjectFactory _scriptObjectFactory;
+
+ public ClientSetGenerator(ScriptObjectFactory scriptObjectFactory)
+ {
+ _scriptObjectFactory = scriptObjectFactory;
+ }
+
+ public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializationContext context)
+ {
+ var data = swagger.Operations
+ .Where(o => o.Method != OpenApiOperationMethod.Options)
+ .Select(o =>
+ {
+ var ps = o.Operation.ActualParameters.OrderBy(p => !p.IsRequired).ToArray();
+
+ o.Operation.Parameters.Clear();
+
+ var name = new HashSet();
+
+ var i = 1;
+ foreach (var p in ps)
+ {
+ if (name.Contains(p.Name))
+ {
+ p.Name += i++;
+ }
+
+ o.Operation.Parameters.Add(p);
+ name.Add(p.Name);
+ }
+
+ return o;
+ })
+ .Select(o =>
+ {
+ o.Path = o.Path.TrimStart('/');
+ o.Method = char.ToUpper(o.Method[0]) + o.Method.Substring(1);
+ return o;
+ })
+ .ToArray();
+
+ var sc = _scriptObjectFactory.CreateScriptObject();
+
+ var groups = new List();
+ var apiGroups = new Dictionary();
+
+ foreach (var grouped in data.Where(d => HasKubernetesAction(d.Operation?.ExtensionData))
+ .GroupBy(d => d.Operation.Tags.First()))
+ {
+ var clients = new List();
+ var name = grouped.Key.ToPascalCase();
+ groups.Add(name);
+ var apis = grouped.Select(x =>
+ {
+ var groupVersionKindElements = x.Operation?.ExtensionData?["x-kubernetes-group-version-kind"];
+ var groupVersionKind = (Dictionary)groupVersionKindElements;
+
+ return new { Kind = groupVersionKind?["kind"] as string, Api = x };
+ });
+
+ foreach (var item in apis.GroupBy(x => x.Kind))
+ {
+ var kind = item.Key;
+ apiGroups[kind] = item.Select(x => x.Api).ToArray();
+ clients.Add(kind);
+ }
+
+ sc.SetValue("clients", clients, true);
+ sc.SetValue("name", name, true);
+ context.RenderToContext("GroupClient.cs.template", sc, $"{name}GroupClient.g.cs");
+ }
+
+ foreach (var apiGroup in apiGroups)
+ {
+ var name = apiGroup.Key;
+ var apis = apiGroup.Value.ToArray();
+ var group = apis.Select(x => x.Operation.Tags[0]).First();
+ sc.SetValue("apis", apis, true);
+ sc.SetValue("name", name, true);
+ sc.SetValue("group", group.ToPascalCase(), true);
+ context.RenderToContext("Client.cs.template", sc, $"{name}Client.g.cs");
+ }
+
+ sc = _scriptObjectFactory.CreateScriptObject();
+ sc.SetValue("groups", groups, true);
+
+ context.RenderToContext("ClientSet.cs.template", sc, $"ClientSet.g.cs");
+ }
+
+ private bool HasKubernetesAction(IDictionary extensionData) =>
+ extensionData?.ContainsKey("x-kubernetes-action") ?? false;
+ }
+}
diff --git a/src/LibKubernetesGenerator/GeneralNameHelper.cs b/src/LibKubernetesGenerator/GeneralNameHelper.cs
index c9b5cf5af..2d4f646f7 100644
--- a/src/LibKubernetesGenerator/GeneralNameHelper.cs
+++ b/src/LibKubernetesGenerator/GeneralNameHelper.cs
@@ -21,7 +21,8 @@ public GeneralNameHelper(ClassNameHelper classNameHelper)
public void RegisterHelper(ScriptObject scriptObject)
{
scriptObject.Import(nameof(GetInterfaceName), new Func(GetInterfaceName));
- scriptObject.Import(nameof(GetMethodName), new Func(GetMethodName));
+ scriptObject.Import(nameof(GetOperationId), new Func(GetOperationId));
+ scriptObject.Import(nameof(GetActionName), new Func(GetActionName));
scriptObject.Import(nameof(GetDotNetName), new Func(GetDotNetName));
scriptObject.Import(nameof(GetDotNetNameOpenApiParameter), new Func(GetDotNetNameOpenApiParameter));
}
@@ -56,8 +57,6 @@ private string GetInterfaceName(JsonSchema definition)
}
}
- interfaces.Add("IValidate");
-
return string.Join(", ", interfaces);
}
@@ -67,7 +66,7 @@ public string GetDotNetNameOpenApiParameter(OpenApiParameter parameter, string i
if (init == "true" && !parameter.IsRequired)
{
- name += " = null";
+ name += " = default";
}
return name;
@@ -138,7 +137,7 @@ public string GetDotNetName(string jsonName, string style = "parameter")
return jsonName.ToCamelCase();
}
- public static string GetMethodName(OpenApiOperation watchOperation, string suffix)
+ public static string GetOperationId(OpenApiOperation watchOperation, string suffix)
{
var tag = watchOperation.Tags[0];
tag = tag.Replace("_", string.Empty);
@@ -162,5 +161,28 @@ public static string GetMethodName(OpenApiOperation watchOperation, string suffi
return methodName;
}
+
+ public static string GetActionName(OpenApiOperation apiOperation, string resource, string suffix)
+ {
+ var operationId = apiOperation.OperationId.ToPascalCase();
+ var replacements = new Dictionary(StringComparer.OrdinalIgnoreCase)
+ {
+ { "Replace", "Update" },
+ { "Read", "Get" },
+ };
+
+ foreach (var replacement in replacements)
+ {
+ operationId = Regex.Replace(operationId, replacement.Key, replacement.Value, RegexOptions.IgnoreCase);
+ }
+
+ var resources = new[] { resource, "ForAllNamespaces", "Namespaced" };
+ var pattern = string.Join("|", Array.ConvertAll(resources, Regex.Escape));
+ var actionName = pattern.Length > 0
+ ? Regex.Replace(operationId, pattern, string.Empty, RegexOptions.IgnoreCase)
+ : operationId;
+
+ return $"{actionName}{suffix}";
+ }
}
}
diff --git a/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs b/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs
index de5975cc9..6c3653721 100644
--- a/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs
+++ b/src/LibKubernetesGenerator/GeneratorExecutionContextExt.cs
@@ -1,5 +1,6 @@
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
+using Microsoft.CodeAnalysis.CSharp;
using Scriban;
using Scriban.Runtime;
using System.Text;
@@ -19,7 +20,10 @@ public static void RenderToContext(this IncrementalGeneratorPostInitializationCo
{
var template = Template.Parse(EmbedResource.GetResource(templatefile));
var generated = template.Render(tc);
- context.AddSource(generatedfile, SourceText.From(generated, Encoding.UTF8));
+
+ var syntaxTree = CSharpSyntaxTree.ParseText(generated);
+ var normalized = syntaxTree.GetRoot().NormalizeWhitespace().ToFullString();
+ context.AddSource(generatedfile, SourceText.From(normalized, Encoding.UTF8));
}
}
}
diff --git a/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs b/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs
index 8dd368e03..fd2713260 100644
--- a/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs
+++ b/src/LibKubernetesGenerator/KubernetesClientSourceGenerator.cs
@@ -1,12 +1,6 @@
using Autofac;
using Microsoft.CodeAnalysis;
using NSwag;
-#if GENERATE_AUTOMAPPER
-using System.Collections.Generic;
-using System;
-using System.IO;
-using System.Linq;
-#endif
namespace LibKubernetesGenerator
{
@@ -64,11 +58,10 @@ private static IContainer BuildContainer(OpenApiDocument swagger)
builder.RegisterType()
;
- builder.RegisterType();
+ builder.RegisterType();
builder.RegisterType();
builder.RegisterType();
- builder.RegisterType();
- builder.RegisterType();
+ builder.RegisterType();
builder.RegisterType();
return builder.Build();
@@ -84,39 +77,12 @@ public void Initialize(IncrementalGeneratorInitializationContext generatorContex
container.Resolve().Generate(swagger, ctx);
container.Resolve().Generate(swagger, ctx);
- container.Resolve().Generate(swagger, ctx);
- container.Resolve().Generate(swagger, ctx);
+ container.Resolve().Generate(swagger, ctx);
container.Resolve().Generate(swagger, ctx);
+ container.Resolve().Generate(swagger, ctx);
});
#endif
-#if GENERATE_AUTOMAPPER
- var automappersrc = generatorContext.CompilationProvider.Select((c, _) => c.SyntaxTrees.First(s => PathSuffixMath(s.FilePath, "AutoMapper/VersionConverter.cs")));
- generatorContext.RegisterSourceOutput(automappersrc, (ctx, srctree) =>
- {
- var (swagger, container) = BuildContainer();
- container.Resolve().Generate(swagger, ctx, srctree);
- });
-#endif
- }
-
-#if GENERATE_AUTOMAPPER
- private IEnumerable PathSplit(string path)
- {
- var p = path;
-
- while (!string.IsNullOrEmpty(p))
- {
- yield return Path.GetFileName(p);
- p = Path.GetDirectoryName(p);
- }
}
-
- private bool PathSuffixMath(string path, string suffix)
- {
- var s = PathSplit(suffix).ToList();
- return PathSplit(path).Take(s.Count).SequenceEqual(s);
- }
-#endif
}
}
diff --git a/src/LibKubernetesGenerator/LibKubernetesGenerator.target b/src/LibKubernetesGenerator/LibKubernetesGenerator.target
index ee9aeb083..80a9cd252 100644
--- a/src/LibKubernetesGenerator/LibKubernetesGenerator.target
+++ b/src/LibKubernetesGenerator/LibKubernetesGenerator.target
@@ -12,10 +12,12 @@
-
+
+
+
@@ -30,8 +32,10 @@
+
+
@@ -48,8 +52,10 @@
+
+
diff --git a/src/LibKubernetesGenerator/ModelExtGenerator.cs b/src/LibKubernetesGenerator/ModelExtGenerator.cs
deleted file mode 100644
index bbadcb5c0..000000000
--- a/src/LibKubernetesGenerator/ModelExtGenerator.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using Microsoft.CodeAnalysis;
-using NSwag;
-using System.Collections.Generic;
-using System.Linq;
-
-namespace LibKubernetesGenerator
-{
- internal class ModelExtGenerator
- {
- private readonly ClassNameHelper classNameHelper;
- private readonly ScriptObjectFactory scriptObjectFactory;
-
- public ModelExtGenerator(ClassNameHelper classNameHelper, ScriptObjectFactory scriptObjectFactory)
- {
- this.classNameHelper = classNameHelper;
- this.scriptObjectFactory = scriptObjectFactory;
- }
-
- public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializationContext context)
- {
- // Generate the interface declarations
- var skippedTypes = new HashSet { "V1WatchEvent" };
-
- var definitions = swagger.Definitions.Values
- .Where(
- d => d.ExtensionData != null
- && d.ExtensionData.ContainsKey("x-kubernetes-group-version-kind")
- && !skippedTypes.Contains(classNameHelper.GetClassName(d)));
-
- var sc = scriptObjectFactory.CreateScriptObject();
- sc.SetValue("definitions", definitions, true);
-
- context.RenderToContext("ModelExtensions.cs.template", sc, "ModelExtensions.g.cs");
- }
- }
-}
diff --git a/src/LibKubernetesGenerator/ModelGenerator.cs b/src/LibKubernetesGenerator/ModelGenerator.cs
index 98b9576cd..df9f8d3ea 100644
--- a/src/LibKubernetesGenerator/ModelGenerator.cs
+++ b/src/LibKubernetesGenerator/ModelGenerator.cs
@@ -1,3 +1,4 @@
+using System.Collections.Generic;
using Microsoft.CodeAnalysis;
using NSwag;
@@ -18,15 +19,49 @@ public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializa
{
var sc = scriptObjectFactory.CreateScriptObject();
+ var genSkippedTypes = new HashSet
+ {
+ "IntOrString",
+ "ResourceQuantity",
+ "V1Patch",
+ };
+
+ var extSkippedTypes = new HashSet
+ {
+ "V1WatchEvent",
+ };
+
+ var typeOverrides = new Dictionary
+ {
+ // not used at the moment
+ };
foreach (var kv in swagger.Definitions)
{
var def = kv.Value;
var clz = classNameHelper.GetClassNameForSchemaDefinition(def);
+ if (genSkippedTypes.Contains(clz))
+ {
+ continue;
+ }
+
+ var hasExt = def.ExtensionData != null
+ && def.ExtensionData.ContainsKey("x-kubernetes-group-version-kind")
+ && !extSkippedTypes.Contains(clz);
+
+
+ var typ = "record";
+ if (typeOverrides.TryGetValue(clz, out var to))
+ {
+ typ = to;
+ }
+
sc.SetValue("clz", clz, true);
sc.SetValue("def", def, true);
sc.SetValue("properties", def.Properties.Values, true);
+ sc.SetValue("typ", typ, true);
+ sc.SetValue("hasExt", hasExt, true);
context.RenderToContext("Model.cs.template", sc, $"Models_{clz}.g.cs");
}
diff --git a/src/LibKubernetesGenerator/ParamHelper.cs b/src/LibKubernetesGenerator/ParamHelper.cs
index 216c2f357..fcaf030d9 100644
--- a/src/LibKubernetesGenerator/ParamHelper.cs
+++ b/src/LibKubernetesGenerator/ParamHelper.cs
@@ -3,6 +3,7 @@
using Scriban.Runtime;
using System;
using System.Linq;
+using System.Collections.Generic;
namespace LibKubernetesGenerator
{
@@ -21,6 +22,8 @@ public void RegisterHelper(ScriptObject scriptObject)
{
scriptObject.Import(nameof(GetModelCtorParam), new Func(GetModelCtorParam));
scriptObject.Import(nameof(IfParamContains), IfParamContains);
+ scriptObject.Import(nameof(FilterParameters), FilterParameters);
+ scriptObject.Import(nameof(GetParameterValueForWatch), new Func(GetParameterValueForWatch));
}
public static bool IfParamContains(OpenApiOperation operation, string name)
@@ -39,6 +42,23 @@ public static bool IfParamContains(OpenApiOperation operation, string name)
return found;
}
+ public static IEnumerable FilterParameters(OpenApiOperation operation, string excludeParam)
+ {
+ return operation.Parameters.Where(p => p.Name != excludeParam);
+ }
+
+ public string GetParameterValueForWatch(OpenApiParameter parameter, bool watch, string init = "false")
+ {
+ if (parameter.Name == "watch")
+ {
+ return watch ? "true" : "false";
+ }
+ else
+ {
+ return generalNameHelper.GetDotNetNameOpenApiParameter(parameter, init);
+ }
+ }
+
public string GetModelCtorParam(JsonSchema schema)
{
return string.Join(", ", schema.Properties.Values
@@ -57,4 +77,4 @@ public string GetModelCtorParam(JsonSchema schema)
}));
}
}
-}
+}
\ No newline at end of file
diff --git a/src/LibKubernetesGenerator/PluralHelper.cs b/src/LibKubernetesGenerator/PluralHelper.cs
index b2f697375..81091f88c 100644
--- a/src/LibKubernetesGenerator/PluralHelper.cs
+++ b/src/LibKubernetesGenerator/PluralHelper.cs
@@ -11,11 +11,12 @@ internal class PluralHelper : IScriptObjectHelper
{
private readonly Dictionary _classNameToPluralMap;
private readonly ClassNameHelper classNameHelper;
- private readonly HashSet opblackList = new HashSet()
- {
+ private readonly HashSet opblackList =
+ [
"listClusterCustomObject",
"listNamespacedCustomObject",
- };
+ "listCustomObjectForAllNamespaces",
+ ];
public PluralHelper(ClassNameHelper classNameHelper, OpenApiDocument swagger)
{
diff --git a/src/LibKubernetesGenerator/SourceGenerationContextGenerator.cs b/src/LibKubernetesGenerator/SourceGenerationContextGenerator.cs
new file mode 100644
index 000000000..c73c020a1
--- /dev/null
+++ b/src/LibKubernetesGenerator/SourceGenerationContextGenerator.cs
@@ -0,0 +1,24 @@
+using Microsoft.CodeAnalysis;
+using NSwag;
+
+namespace LibKubernetesGenerator
+{
+ internal class SourceGenerationContextGenerator
+ {
+ private readonly ScriptObjectFactory scriptObjectFactory;
+
+ public SourceGenerationContextGenerator(ScriptObjectFactory scriptObjectFactory)
+ {
+ this.scriptObjectFactory = scriptObjectFactory;
+ }
+
+ public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializationContext context)
+ {
+ var definitions = swagger.Definitions.Values;
+ var sc = scriptObjectFactory.CreateScriptObject();
+ sc.SetValue("definitions", definitions, true);
+
+ context.RenderToContext("SourceGenerationContext.cs.template", sc, "SourceGenerationContext.g.cs");
+ }
+ }
+}
diff --git a/src/LibKubernetesGenerator/TypeHelper.cs b/src/LibKubernetesGenerator/TypeHelper.cs
index 057a363a2..db27dab97 100644
--- a/src/LibKubernetesGenerator/TypeHelper.cs
+++ b/src/LibKubernetesGenerator/TypeHelper.cs
@@ -122,7 +122,6 @@ private string GetDotNetType(JsonSchema schema, JsonSchemaProperty parent)
return $"IDictionary";
}
-
if (schema?.Reference != null)
{
return classNameHelper.GetClassNameForSchemaDefinition(schema.Reference);
@@ -245,6 +244,16 @@ string toType()
}
break;
+ case "T":
+ var itemType = TryGetItemTypeFromSchema(response);
+ if (itemType != null)
+ {
+ return itemType;
+ }
+
+ break;
+ case "TList":
+ return t;
}
return t;
@@ -283,5 +292,26 @@ public static bool IfType(JsonSchemaProperty property, string type)
return false;
}
+
+ private string TryGetItemTypeFromSchema(OpenApiResponse response)
+ {
+ var listSchema = response?.Schema?.Reference;
+ if (listSchema?.Properties?.TryGetValue("items", out var itemsProperty) != true)
+ {
+ return null;
+ }
+
+ if (itemsProperty.Reference != null)
+ {
+ return classNameHelper.GetClassNameForSchemaDefinition(itemsProperty.Reference);
+ }
+
+ if (itemsProperty.Item?.Reference != null)
+ {
+ return classNameHelper.GetClassNameForSchemaDefinition(itemsProperty.Item.Reference);
+ }
+
+ return null;
+ }
}
-}
+}
\ No newline at end of file
diff --git a/src/LibKubernetesGenerator/VersionConverterAutoMapperGenerator.cs b/src/LibKubernetesGenerator/VersionConverterAutoMapperGenerator.cs
deleted file mode 100644
index 9a2c95cbc..000000000
--- a/src/LibKubernetesGenerator/VersionConverterAutoMapperGenerator.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-using Microsoft.CodeAnalysis;
-using Microsoft.CodeAnalysis.Text;
-using NSwag;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-
-namespace LibKubernetesGenerator
-{
- internal class VersionConverterAutoMapperGenerator
- {
- private readonly ClassNameHelper classNameHelper;
-
- public VersionConverterAutoMapperGenerator(ClassNameHelper classNameHelper)
- {
- this.classNameHelper = classNameHelper;
- }
-
- public void Generate(OpenApiDocument swagger, SourceProductionContext context, SyntaxTree manualconverter)
- {
- var allGeneratedModelClassNames = new List();
-
- foreach (var kv in swagger.Definitions)
- {
- var def = kv.Value;
- var clz = classNameHelper.GetClassNameForSchemaDefinition(def);
- allGeneratedModelClassNames.Add(clz);
- }
-
- var manualMaps = new List<(string, string)>();
-
- manualMaps = Regex.Matches(manualconverter.GetText().ToString(), @"\.CreateMap<(?.+?),\s?(?.+?)>")
- .OfType()
- .Select(x => (x.Groups["T1"].Value, x.Groups["T2"].Value))
- .ToList();
-
- var versionRegex = @"(^V|v)[0-9]+((alpha|beta)[0-9]+)?";
- var typePairs = allGeneratedModelClassNames
- .OrderBy(x => x)
- .Select(x => new
- {
- Version = Regex.Match(x, versionRegex).Value?.ToLower(),
- Kinda = Regex.Replace(x, versionRegex, string.Empty),
- Type = x,
- })
- .Where(x => !string.IsNullOrEmpty(x.Version))
- .GroupBy(x => x.Kinda)
- .Where(x => x.Count() > 1)
- .SelectMany(x =>
- x.SelectMany((value, index) => x.Skip(index + 1), (first, second) => new { first, second }))
- .OrderBy(x => x.first.Kinda)
- .ThenBy(x => x.first.Version)
- .Select(x => (x.first.Type, x.second.Type))
- .ToList();
-
- var versionConverterPairs = typePairs.Except(manualMaps).ToList();
-
- var sbversion = new StringBuilder(@"//
-using AutoMapper;
-using k8s.Models;
-
-namespace k8s.ModelConverter.AutoMapper;
-
-internal static partial class VersionConverter
- {
- private static void AutoConfigurations(IMapperConfigurationExpression cfg)
- {
-
-");
-
- foreach (var (t0, t1) in versionConverterPairs)
- {
- sbversion.AppendLine($@"cfg.CreateMap<{t0}, {t1}>().ReverseMap();");
- }
-
- sbversion.AppendLine("}}");
-
- context.AddSource($"VersionConverter.g.cs", SourceText.From(sbversion.ToString(), Encoding.UTF8));
- }
- }
-}
diff --git a/src/LibKubernetesGenerator/VersionConverterStubGenerator.cs b/src/LibKubernetesGenerator/VersionConverterStubGenerator.cs
deleted file mode 100644
index 58550006d..000000000
--- a/src/LibKubernetesGenerator/VersionConverterStubGenerator.cs
+++ /dev/null
@@ -1,70 +0,0 @@
-using Microsoft.CodeAnalysis;
-using Microsoft.CodeAnalysis.Text;
-using NSwag;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-
-namespace LibKubernetesGenerator
-{
- internal class VersionConverterStubGenerator
- {
- private readonly ClassNameHelper classNameHelper;
-
- public VersionConverterStubGenerator(ClassNameHelper classNameHelper)
- {
- this.classNameHelper = classNameHelper;
- }
-
- public void Generate(OpenApiDocument swagger, IncrementalGeneratorPostInitializationContext context)
- {
- var allGeneratedModelClassNames = new List();
-
- foreach (var kv in swagger.Definitions)
- {
- var def = kv.Value;
- var clz = classNameHelper.GetClassNameForSchemaDefinition(def);
- allGeneratedModelClassNames.Add(clz);
- }
-
- var versionRegex = @"(^V|v)[0-9]+((alpha|beta)[0-9]+)?";
- var typePairs = allGeneratedModelClassNames
- .OrderBy(x => x)
- .Select(x => new
- {
- Version = Regex.Match(x, versionRegex).Value?.ToLower(),
- Kinda = Regex.Replace(x, versionRegex, string.Empty),
- Type = x,
- })
- .Where(x => !string.IsNullOrEmpty(x.Version))
- .GroupBy(x => x.Kinda)
- .Where(x => x.Count() > 1)
- .SelectMany(x =>
- x.SelectMany((value, index) => x.Skip(index + 1), (first, second) => new { first, second }))
- .OrderBy(x => x.first.Kinda)
- .ThenBy(x => x.first.Version)
- .Select(x => (x.first.Type, x.second.Type))
- .ToList();
-
- var sbmodel = new StringBuilder(@"//
-namespace k8s.Models;
-");
-
- foreach (var (t0, t1) in typePairs)
- {
- sbmodel.AppendLine($@"
- public partial class {t0}
- {{
- public static explicit operator {t0}({t1} s) => ModelVersionConverter.Convert<{t1}, {t0}>(s);
- }}
- public partial class {t1}
- {{
- public static explicit operator {t1}({t0} s) => ModelVersionConverter.Convert<{t0}, {t1}>(s);
- }}");
- }
-
- context.AddSource($"ModelOperators.g.cs", SourceText.From(sbmodel.ToString(), Encoding.UTF8));
- }
- }
-}
diff --git a/src/LibKubernetesGenerator/generators/LibKubernetesGenerator.Automapper/LibKubernetesGenerator.Automapper.csproj b/src/LibKubernetesGenerator/generators/LibKubernetesGenerator.Automapper/LibKubernetesGenerator.Automapper.csproj
deleted file mode 100644
index 1cf7ecd42..000000000
--- a/src/LibKubernetesGenerator/generators/LibKubernetesGenerator.Automapper/LibKubernetesGenerator.Automapper.csproj
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- $(DefineConstants);GENERATE_AUTOMAPPER;
-
-
-
-
-
diff --git a/src/LibKubernetesGenerator/templates/Client.cs.template b/src/LibKubernetesGenerator/templates/Client.cs.template
new file mode 100644
index 000000000..f9ce845e5
--- /dev/null
+++ b/src/LibKubernetesGenerator/templates/Client.cs.template
@@ -0,0 +1,165 @@
+//
+// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+using System.Net.Http;
+using System.Net.Http.Headers;
+
+namespace k8s.ClientSets;
+
+///
+///
+public partial class {{name}}Client : ResourceClient
+{
+ public {{name}}Client(Kubernetes kubernetes) : base(kubernetes)
+ {
+ }
+
+ {{for api in apis }}
+ {{~ $filteredParams = FilterParameters api.operation "watch" ~}}
+ ///
+ /// {{ToXmlDoc api.operation.description}}
+ ///
+ {{ for parameter in $filteredParams}}
+ ///
+ /// {{ToXmlDoc parameter.description}}
+ ///
+ {{end}}
+ ///
+ /// A which can be used to cancel the asynchronous operation.
+ ///
+ public async Task{{GetReturnType api.operation "<>"}} {{GetActionName api.operation name "Async"}}(
+ {{ for parameter in $filteredParams}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
+ {{ end }}
+ CancellationToken cancellationToken = default(CancellationToken))
+ {
+ {{if IfReturnType api.operation "stream"}}
+ var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter false}},
+ {{end}}
+ null,
+ cancellationToken);
+ _result.Request.Dispose();
+ {{GetReturnType api.operation "_result.Body"}};
+ {{end}}
+ {{if IfReturnType api.operation "obj"}}
+ using (var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter false}},
+ {{end}}
+ null,
+ cancellationToken).ConfigureAwait(false))
+ {
+ {{GetReturnType api.operation "_result.Body"}};
+ }
+ {{end}}
+ {{if IfReturnType api.operation "void"}}
+ using (var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter false}},
+ {{end}}
+ null,
+ cancellationToken).ConfigureAwait(false))
+ {
+ }
+ {{end}}
+ }
+
+ {{if IfReturnType api.operation "object"}}
+ ///
+ /// {{ToXmlDoc api.operation.description}}
+ ///
+ {{ for parameter in $filteredParams}}
+ ///
+ /// {{ToXmlDoc parameter.description}}
+ ///
+ {{end}}
+ ///
+ /// A which can be used to cancel the asynchronous operation.
+ ///
+ public async Task {{GetActionName api.operation name "Async"}}(
+ {{ for parameter in $filteredParams}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{ end }}
+ CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter false}},
+ {{end}}
+ null,
+ cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+ {{end}}
+
+#if !K8S_AOT
+ {{if IfParamContains api.operation "watch"}}
+ ///
+ /// Watch {{ToXmlDoc api.operation.description}}
+ ///
+ {{ for parameter in $filteredParams}}
+ ///
+ /// {{ToXmlDoc parameter.description}}
+ ///
+ {{ end }}
+ /// Callback when any event raised from api server
+ /// Callback when any exception was caught during watching
+ /// Callback when the server closes the connection
+ public Watcher<{{GetReturnType api.operation "T"}}> Watch{{GetActionName api.operation name ""}}(
+ {{ for parameter in $filteredParams}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
+ {{ end }}
+ Action onEvent = null,
+ Action onError = null,
+ Action onClosed = null)
+ {
+ if (onEvent == null) throw new ArgumentNullException(nameof(onEvent));
+
+ var responseTask = Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter true}},
+ {{ end }}
+ null,
+ CancellationToken.None);
+
+ return responseTask.Watch<{{GetReturnType api.operation "T"}}, {{GetReturnType api.operation "TList"}}>(
+ onEvent, onError, onClosed);
+ }
+
+ ///
+ /// Watch {{ToXmlDoc api.operation.description}} as async enumerable
+ ///
+ {{ for parameter in $filteredParams}}
+ ///
+ /// {{ToXmlDoc parameter.description}}
+ ///
+ {{ end }}
+ /// Callback when any exception was caught during watching
+ /// Cancellation token
+ public IAsyncEnumerable<(WatchEventType, {{GetReturnType api.operation "T"}})> Watch{{GetActionName api.operation name "Async"}}(
+ {{ for parameter in $filteredParams}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
+ {{ end }}
+ Action onError = null,
+ CancellationToken cancellationToken = default)
+ {
+ var responseTask = Client.{{group}}.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+ {{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter true}},
+ {{ end }}
+ null,
+ cancellationToken);
+
+ return responseTask.WatchAsync<{{GetReturnType api.operation "T"}}, {{GetReturnType api.operation "TList"}}>(
+ onError, cancellationToken);
+ }
+ {{end}}
+#endif
+ {{end}}
+}
\ No newline at end of file
diff --git a/src/LibKubernetesGenerator/templates/ClientSet.cs.template b/src/LibKubernetesGenerator/templates/ClientSet.cs.template
new file mode 100644
index 000000000..c358b2b3c
--- /dev/null
+++ b/src/LibKubernetesGenerator/templates/ClientSet.cs.template
@@ -0,0 +1,16 @@
+//
+// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace k8s.ClientSets;
+
+///
+///
+public partial class ClientSet
+{
+ {{for group in groups}}
+ public {{group}}GroupClient {{group}} => new {{group}}GroupClient(_kubernetes);
+ {{end}}
+}
diff --git a/src/LibKubernetesGenerator/templates/GroupClient.cs.template b/src/LibKubernetesGenerator/templates/GroupClient.cs.template
new file mode 100644
index 000000000..45f219e55
--- /dev/null
+++ b/src/LibKubernetesGenerator/templates/GroupClient.cs.template
@@ -0,0 +1,24 @@
+//
+// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace k8s.ClientSets;
+
+
+///
+///
+public partial class {{name}}GroupClient
+{
+ private readonly Kubernetes _kubernetes;
+
+ {{for client in clients}}
+ public {{client}}Client {{client}} => new {{client}}Client(_kubernetes);
+ {{end}}
+
+ public {{name}}GroupClient(Kubernetes kubernetes)
+ {
+ _kubernetes = kubernetes;
+ }
+}
diff --git a/src/LibKubernetesGenerator/templates/IBasicKubernetes.cs.template b/src/LibKubernetesGenerator/templates/IKubernetes.cs.template
similarity index 86%
rename from src/LibKubernetesGenerator/templates/IBasicKubernetes.cs.template
rename to src/LibKubernetesGenerator/templates/IKubernetes.cs.template
index 99a284fcf..68e92500d 100644
--- a/src/LibKubernetesGenerator/templates/IBasicKubernetes.cs.template
+++ b/src/LibKubernetesGenerator/templates/IKubernetes.cs.template
@@ -8,7 +8,7 @@ namespace k8s;
///
///
-public partial interface IBasicKubernetes
+public partial interface IKubernetes
{
{{for group in groups}}
I{{group}}Operations {{group}} { get; }
diff --git a/src/LibKubernetesGenerator/templates/IOperations.cs.template b/src/LibKubernetesGenerator/templates/IOperations.cs.template
index c310acf9f..6904b8b91 100644
--- a/src/LibKubernetesGenerator/templates/IOperations.cs.template
+++ b/src/LibKubernetesGenerator/templates/IOperations.cs.template
@@ -25,7 +25,7 @@ public partial interface I{{name}}Operations
///
/// A which can be used to cancel the asynchronous operation.
///
- Task"}}> {{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ Task"}}> {{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
{{ end }}
@@ -47,7 +47,7 @@ public partial interface I{{name}}Operations
///
/// A which can be used to cancel the asynchronous operation.
///
- Task> {{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ Task> {{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
{{ end }}
diff --git a/src/LibKubernetesGenerator/templates/Model.cs.template b/src/LibKubernetesGenerator/templates/Model.cs.template
index f074ae72c..721709f1e 100644
--- a/src/LibKubernetesGenerator/templates/Model.cs.template
+++ b/src/LibKubernetesGenerator/templates/Model.cs.template
@@ -4,94 +4,29 @@
// regenerated.
//
-namespace k8s.Models
+namespace k8s.Models;
+
+///
+/// {{ToXmlDoc def.description}}
+///
+{{ if hasExt }}
+[KubernetesEntity(Group=KubeGroup, Kind=KubeKind, ApiVersion=KubeApiVersion, PluralName=KubePluralName)]
+{{ end }}
+public partial {{typ}} {{clz}} {{ if hasExt }} : {{ GetInterfaceName def }} {{ end }}
{
+ {{ if hasExt}}
+ public const string KubeApiVersion = "{{ GetApiVersion def }}";
+ public const string KubeKind = "{{ GetKind def }}";
+ public const string KubeGroup = "{{ GetGroup def }}";
+ public const string KubePluralName = "{{ GetPlural def }}";
+ {{ end }}
+
+ {{ for property in properties }}
///
- /// {{ToXmlDoc def.description}}
+ /// {{ToXmlDoc property.description}}
///
- public partial class {{clz}}
- {
- ///
- /// Initializes a new instance of the {{GetClassName def}} class.
- ///
- public {{clz}}()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the {{GetClassName def}} class.
- ///
- {{ for property in properties }}
- {{ if property.IsRequired }}
- ///
- /// {{ToXmlDoc property.description}}
- ///
- {{ end }}
- {{ end }}
-
- {{ for property in properties }}
- {{ if !property.IsRequired }}
- ///
- /// {{ToXmlDoc property.description}}
- ///
- {{ end }}
- {{ end }}
- public {{clz}}({{GetModelCtorParam def}})
- {
- {{ for property in properties }}
- {{GetDotNetName property.name "field"}} = {{GetDotNetName property.name "fieldctor"}};
- {{ end }}
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- {{ for property in properties }}
- ///
- /// {{ToXmlDoc property.description}}
- ///
- [JsonPropertyName("{{property.name}}")]
- public {{GetDotNetType property}} {{GetDotNetName property.name "field"}} { get; set; }
- {{ end }}
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- {{ for property in properties }}
- {{if IfType property "object" }}
- {{ if property.IsRequired }}
- if ({{GetDotNetName property.name "field"}} == null)
- {
- throw new ArgumentNullException("{{GetDotNetName property.name "field"}}");
- }
- {{ end }}
- {{ end }}
-
- {{ end }}
-
- {{ for property in properties }}
- {{if IfType property "object" }}
- {{GetDotNetName property.name "field"}}?.Validate();
- {{ end }}
-
- {{if IfType property "objectarray" }}
- if ({{GetDotNetName property.name "field"}} != null){
- foreach(var obj in {{GetDotNetName property.name "field"}})
- {
- obj.Validate();
- }
- }
- {{ end }}
- {{ end }}
- }
- }
+ [JsonPropertyName("{{property.name}}")]
+ public {{ if property.IsRequired }} required {{ end }} {{GetDotNetType property}} {{GetDotNetName property.name "field"}} { get; set; }
+ {{ end }}
}
+
diff --git a/src/LibKubernetesGenerator/templates/ModelExtensions.cs.template b/src/LibKubernetesGenerator/templates/ModelExtensions.cs.template
deleted file mode 100644
index bad5507bc..000000000
--- a/src/LibKubernetesGenerator/templates/ModelExtensions.cs.template
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-//
-namespace k8s.Models
-{
-{{ for definition in definitions }}
- [KubernetesEntity(Group=KubeGroup, Kind=KubeKind, ApiVersion=KubeApiVersion, PluralName=KubePluralName)]
- public partial class {{ GetClassName definition }} : {{ GetInterfaceName definition }}
- {
- public const string KubeApiVersion = "{{ GetApiVersion definition }}";
- public const string KubeKind = "{{ GetKind definition }}";
- public const string KubeGroup = "{{ GetGroup definition }}";
- public const string KubePluralName = "{{ GetPlural definition }}";
- }
-{{ end }}
-}
-
-#if NET8_0_OR_GREATER
-namespace k8s
-{
- {{ for definition in definitions }}
- [JsonSerializable(typeof({{ GetClassName definition }}))]
- {{ end }}
- internal partial class SourceGenerationContext : JsonSerializerContext
- {
- }
-}
-#endif
\ No newline at end of file
diff --git a/src/LibKubernetesGenerator/templates/Operations.cs.template b/src/LibKubernetesGenerator/templates/Operations.cs.template
index 876ed8a16..d98337ada 100644
--- a/src/LibKubernetesGenerator/templates/Operations.cs.template
+++ b/src/LibKubernetesGenerator/templates/Operations.cs.template
@@ -10,13 +10,13 @@ public partial class AbstractKubernetes : I{{name}}Operations
{
{{for api in apis }}
{{if IfReturnType api.operation "void"}}
- private async Task I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ private async Task I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{end}}
{{if IfReturnType api.operation "obj"}}
- private async Task> I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ private async Task> I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{end}}
{{if IfReturnType api.operation "stream"}}
- private async Task> I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ private async Task> I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{end}}
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
@@ -90,7 +90,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
}
///
- async Task"}}> I{{name}}Operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ async Task"}}> I{{name}}Operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -98,7 +98,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
CancellationToken cancellationToken)
{
{{if IfReturnType api.operation "void"}}
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -106,7 +106,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
cancellationToken).ConfigureAwait(false);
{{end}}
{{if IfReturnType api.operation "obj"}}
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}{{GetReturnType api.operation "<>"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}{{GetReturnType api.operation "<>"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -114,7 +114,7 @@ public partial class AbstractKubernetes : I{{name}}Operations
cancellationToken).ConfigureAwait(false);
{{end}}
{{if IfReturnType api.operation "stream"}}
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
@@ -125,14 +125,14 @@ public partial class AbstractKubernetes : I{{name}}Operations
{{if IfReturnType api.operation "object"}}
///
- async Task> I{{name}}Operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ async Task> I{{name}}Operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
IReadOnlyDictionary> customHeaders,
CancellationToken cancellationToken)
{
- return await I{{name}}Operations_{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ return await I{{name}}Operations_{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
diff --git a/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template b/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template
index 98c304ede..7544d235d 100644
--- a/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template
+++ b/src/LibKubernetesGenerator/templates/OperationsExtensions.cs.template
@@ -12,26 +12,27 @@ namespace k8s;
public static partial class {{name}}OperationsExtensions
{
{{for api in apis }}
+ {{~ $filteredParams = FilterParameters api.operation "watch" ~}}
///
/// {{ToXmlDoc api.operation.description}}
///
///
/// The operations group for this extension method.
///
- {{ for parameter in api.operation.parameters}}
+ {{ for parameter in $filteredParams}}
///
- /// {{ToXmlDoc api.description}}
+ /// {{ToXmlDoc parameter.description}}
///
{{ end }}
- public static {{GetReturnType api.operation "void"}} {{GetMethodName api.operation ""}}(
+ public static {{GetReturnType api.operation "void"}} {{GetOperationId api.operation ""}}(
this I{{name}}Operations operations
-{{ for parameter in api.operation.parameters}}
+{{ for parameter in $filteredParams}}
,{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}}
{{end}}
)
{
- {{GetReturnType api.operation "return"}} operations.{{GetMethodName api.operation "Async"}}(
-{{ for parameter in api.operation.parameters}}
+ {{GetReturnType api.operation "return"}} operations.{{GetOperationId api.operation "Async"}}(
+{{ for parameter in $filteredParams}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
CancellationToken.None
@@ -45,20 +46,20 @@ public static partial class {{name}}OperationsExtensions
///
/// The operations group for this extension method.
///
- {{ for parameter in api.operation.parameters}}
+ {{ for parameter in $filteredParams}}
///
/// {{ToXmlDoc parameter.description}}
///
{{end}}
- public static T {{GetMethodName api.operation ""}}(
+ public static T {{GetOperationId api.operation ""}}(
this I{{name}}Operations operations
-{{ for parameter in api.operation.parameters}}
+{{ for parameter in $filteredParams}}
,{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}}
{{end}}
)
{
- return operations.{{GetMethodName api.operation "Async"}}(
-{{ for parameter in api.operation.parameters}}
+ return operations.{{GetOperationId api.operation "Async"}}(
+{{ for parameter in $filteredParams}}
{{GetDotNetNameOpenApiParameter parameter "false"}},
{{end}}
CancellationToken.None
@@ -72,7 +73,7 @@ public static partial class {{name}}OperationsExtensions
///
/// The operations group for this extension method.
///
- {{ for parameter in api.operation.parameters}}
+ {{ for parameter in $filteredParams}}
///
/// {{ToXmlDoc parameter.description}}
///
@@ -80,17 +81,17 @@ public static partial class {{name}}OperationsExtensions
///
/// A which can be used to cancel the asynchronous operation.
///
- public static async Task{{GetReturnType api.operation "<>"}} {{GetMethodName api.operation "Async"}}(
+ public static async Task{{GetReturnType api.operation "<>"}} {{GetOperationId api.operation "Async"}}(
this I{{name}}Operations operations,
-{{ for parameter in api.operation.parameters}}
+{{ for parameter in $filteredParams}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
{{ end }}
CancellationToken cancellationToken = default(CancellationToken))
{
{{if IfReturnType api.operation "stream"}}
- var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
- {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{GetParameterValueForWatch parameter false}},
{{end}}
null,
cancellationToken);
@@ -98,9 +99,9 @@ public static partial class {{name}}OperationsExtensions
{{GetReturnType api.operation "_result.Body"}};
{{end}}
{{if IfReturnType api.operation "obj"}}
- using (var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ using (var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
- {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{GetParameterValueForWatch parameter false}},
{{end}}
null,
cancellationToken).ConfigureAwait(false))
@@ -109,9 +110,9 @@ public static partial class {{name}}OperationsExtensions
}
{{end}}
{{if IfReturnType api.operation "void"}}
- using (var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ using (var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
- {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{GetParameterValueForWatch parameter false}},
{{end}}
null,
cancellationToken).ConfigureAwait(false))
@@ -127,7 +128,7 @@ public static partial class {{name}}OperationsExtensions
///
/// The operations group for this extension method.
///
- {{ for parameter in api.operation.parameters}}
+ {{ for parameter in $filteredParams}}
///
/// {{ToXmlDoc parameter.description}}
///
@@ -135,16 +136,16 @@ public static partial class {{name}}OperationsExtensions
///
/// A which can be used to cancel the asynchronous operation.
///
- public static async Task {{GetMethodName api.operation "Async"}}(
+ public static async Task {{GetOperationId api.operation "Async"}}(
this I{{name}}Operations operations,
-{{ for parameter in api.operation.parameters}}
+{{ for parameter in $filteredParams}}
{{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
{{ end }}
CancellationToken cancellationToken = default(CancellationToken))
{
- using (var _result = await operations.{{GetMethodName api.operation "WithHttpMessagesAsync"}}(
+ using (var _result = await operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
{{ for parameter in api.operation.parameters}}
- {{GetDotNetNameOpenApiParameter parameter "false"}},
+ {{GetParameterValueForWatch parameter false}},
{{end}}
null,
cancellationToken).ConfigureAwait(false))
@@ -154,5 +155,77 @@ public static partial class {{name}}OperationsExtensions
}
{{end}}
- {{end}}
+#if !K8S_AOT
+{{if IfParamContains api.operation "watch"}}
+{{~ $filteredParams = FilterParameters api.operation "watch" ~}}
+///
+/// Watch {{ToXmlDoc api.operation.description}}
+///
+///
+/// The operations group for this extension method.
+///
+{{ for parameter in $filteredParams}}
+///
+/// {{ToXmlDoc parameter.description}}
+///
+{{ end }}
+/// Callback when any event raised from api server
+/// Callback when any exception was caught during watching
+/// Callback when the server closes the connection
+public static Watcher<{{GetReturnType api.operation "T"}}> Watch{{GetOperationId api.operation ""}}(
+ this I{{name}}Operations operations,
+{{ for parameter in $filteredParams}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
+{{end}}
+ Action onEvent = null,
+ Action onError = null,
+ Action onClosed = null)
+{
+ if (onEvent == null) throw new ArgumentNullException(nameof(onEvent));
+
+ var responseTask = operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+{{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter true}},
+{{end}}
+ null,
+ CancellationToken.None);
+
+ return responseTask.Watch<{{GetReturnType api.operation "T"}}, {{GetReturnType api.operation "TList"}}>(
+ onEvent, onError, onClosed);
+}
+
+///
+/// Watch {{ToXmlDoc api.operation.description}} as async enumerable
+///
+///
+/// The operations group for this extension method.
+///
+{{ for parameter in $filteredParams}}
+///
+/// {{ToXmlDoc parameter.description}}
+///
+{{ end }}
+/// Callback when any exception was caught during watching
+/// Cancellation token
+public static IAsyncEnumerable<(WatchEventType, {{GetReturnType api.operation "T"}})> Watch{{GetOperationId api.operation "Async"}}(
+ this I{{name}}Operations operations,
+{{ for parameter in $filteredParams}}
+ {{GetDotNetTypeOpenApiParameter parameter}} {{GetDotNetNameOpenApiParameter parameter "true"}},
+{{end}}
+ Action onError = null,
+ CancellationToken cancellationToken = default)
+{
+ var responseTask = operations.{{GetOperationId api.operation "WithHttpMessagesAsync"}}(
+{{ for parameter in api.operation.parameters}}
+ {{GetParameterValueForWatch parameter true}},
+{{end}}
+ null,
+ cancellationToken);
+
+ return responseTask.WatchAsync<{{GetReturnType api.operation "T"}}, {{GetReturnType api.operation "TList"}}>(
+ onError, cancellationToken);
}
+{{end}}
+#endif
+ {{end}}
+}
\ No newline at end of file
diff --git a/src/LibKubernetesGenerator/templates/SourceGenerationContext.cs.template b/src/LibKubernetesGenerator/templates/SourceGenerationContext.cs.template
new file mode 100644
index 000000000..0a5113981
--- /dev/null
+++ b/src/LibKubernetesGenerator/templates/SourceGenerationContext.cs.template
@@ -0,0 +1,15 @@
+//
+// Code generated by https://github.com/kubernetes-client/csharp/tree/master/src/LibKubernetesGenerator
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+//
+#if NET8_0_OR_GREATER
+namespace k8s
+{
+ {{ for definition in definitions }}
+ [JsonSerializable(typeof({{ GetClassName definition }}))]
+ {{ end }}
+ public partial class SourceGenerationContext : JsonSerializerContext
+ {
+ }
+}
+#endif
diff --git a/src/nuget.proj b/src/nuget.proj
index feec6cda8..1f4213256 100644
--- a/src/nuget.proj
+++ b/src/nuget.proj
@@ -3,6 +3,5 @@
-
diff --git a/swagger.json b/swagger.json
index a96f9a6e0..2cc381669 100644
--- a/swagger.json
+++ b/swagger.json
@@ -497,6 +497,9 @@
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
+ "required": [
+ "items"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
@@ -522,7 +525,7 @@
"type": "string"
},
"validationActions": {
- "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.",
+ "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\\\"message\\\": \\\"Invalid value\\\", {\\\"policy\\\": \\\"policy.example.com\\\", {\\\"binding\\\": \\\"policybinding.example.com\\\", {\\\"expressionIndex\\\": \\\"1\\\", {\\\"validationActions\\\": [\\\"Audit\\\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.",
"items": {
"type": "string"
},
@@ -555,6 +558,9 @@
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
+ "required": [
+ "items"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
@@ -860,40 +866,24 @@
},
"type": "object"
},
- "v1alpha1.AuditAnnotation": {
- "description": "AuditAnnotation describes how to produce an audit annotation for an API request.",
+ "v1alpha1.ApplyConfiguration": {
+ "description": "ApplyConfiguration defines the desired configuration values of an object.",
"properties": {
- "key": {
- "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired.",
- "type": "string"
- },
- "valueExpression": {
- "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired.",
+ "expression": {
+ "description": "expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec\n\nApply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:\n\n\tObject{\n\t spec: Object.spec{\n\t serviceAccountName: \"example\"\n\t }\n\t}\n\nApply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.\n\nCEL expressions have access to the object types needed to create apply configurations:\n\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.",
"type": "string"
}
},
- "required": [
- "key",
- "valueExpression"
- ],
"type": "object"
},
- "v1alpha1.ExpressionWarning": {
- "description": "ExpressionWarning is a warning information that targets a specific expression.",
+ "v1alpha1.JSONPatch": {
+ "description": "JSONPatch defines a JSON Patch.",
"properties": {
- "fieldRef": {
- "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"",
- "type": "string"
- },
- "warning": {
- "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.",
+ "expression": {
+ "description": "expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec\n\nexpression must return an array of JSONPatch values.\n\nFor example, this CEL expression returns a JSON patch to conditionally modify a value:\n\n\t [\n\t JSONPatch{op: \"test\", path: \"/spec/example\", value: \"Red\"},\n\t JSONPatch{op: \"replace\", path: \"/spec/example\", value: \"Green\"}\n\t ]\n\nTo define an object for the patch value, use Object types. For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/spec/selector\",\n\t value: Object.spec.selector{matchLabels: {\"environment\": \"test\"}}\n\t }\n\t ]\n\nTo use strings containing '/' and '~' as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/metadata/labels/\" + jsonpatch.escapeKey(\"example.com/environment\"),\n\t value: \"test\"\n\t },\n\t ]\n\nCEL expressions have access to the types needed to create JSON patches and objects:\n\n- 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'.\n See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string,\n integer, array, map or object. If set, the 'path' and 'from' fields must be set to a\n [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL\n function may be used to escape path keys containing '/' and '~'.\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nCEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) as well as:\n\n- 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and '/' are escaped as '~0' and `~1' respectively).\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.",
"type": "string"
}
},
- "required": [
- "fieldRef",
- "warning"
- ],
"type": "object"
},
"v1alpha1.MatchCondition": {
@@ -917,7 +907,7 @@
"description": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
"properties": {
"excludeResourceRules": {
- "description": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
+ "description": "ExcludeResourceRules describes what operations on what resources/subresources the policy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
"items": {
"$ref": "#/definitions/v1alpha1.NamedRuleWithOperations"
},
@@ -925,7 +915,7 @@
"x-kubernetes-list-type": "atomic"
},
"matchPolicy": {
- "description": "matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"",
+ "description": "matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy does not consider requests to apps/v1beta1 or extensions/v1beta1 API groups.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, the admission policy **does** consider requests made to apps/v1beta1 or extensions/v1beta1 API groups. The API server translates the request to a matched resource API if necessary.\n\nDefaults to \"Equivalent\"",
"type": "string"
},
"namespaceSelector": {
@@ -934,10 +924,10 @@
},
"objectSelector": {
"$ref": "#/definitions/v1.LabelSelector",
- "description": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."
+ "description": "ObjectSelector decides whether to run the policy based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the policy's expression (CEL), and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything."
},
"resourceRules": {
- "description": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.",
+ "description": "ResourceRules describes what operations on what resources/subresources the admission policy matches. The policy cares about an operation if it matches _any_ Rule.",
"items": {
"$ref": "#/definitions/v1alpha1.NamedRuleWithOperations"
},
@@ -948,111 +938,8 @@
"type": "object",
"x-kubernetes-map-type": "atomic"
},
- "v1alpha1.NamedRuleWithOperations": {
- "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
- "properties": {
- "apiGroups": {
- "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "apiVersions": {
- "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "operations": {
- "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "resourceNames": {
- "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "resources": {
- "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "scope": {
- "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".",
- "type": "string"
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1alpha1.ParamKind": {
- "description": "ParamKind is a tuple of Group Kind and Version.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.",
- "type": "string"
- },
- "kind": {
- "description": "Kind is the API kind the resources belong to. Required.",
- "type": "string"
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1alpha1.ParamRef": {
- "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.",
- "properties": {
- "name": {
- "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.",
- "type": "string"
- },
- "namespace": {
- "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.",
- "type": "string"
- },
- "parameterNotFoundAction": {
- "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`",
- "type": "string"
- },
- "selector": {
- "$ref": "#/definitions/v1.LabelSelector",
- "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset."
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1alpha1.TypeChecking": {
- "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy",
- "properties": {
- "expressionWarnings": {
- "description": "The type checking warnings for each expression.",
- "items": {
- "$ref": "#/definitions/v1alpha1.ExpressionWarning"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- }
- },
- "type": "object"
- },
- "v1alpha1.ValidatingAdmissionPolicy": {
- "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.",
+ "v1alpha1.MutatingAdmissionPolicy": {
+ "description": "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1067,25 +954,21 @@
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"spec": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicySpec",
- "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy."
- },
- "status": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyStatus",
- "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only."
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicySpec",
+ "description": "Specification of the desired behavior of the MutatingAdmissionPolicy."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1alpha1"
}
]
},
- "v1alpha1.ValidatingAdmissionPolicyBinding": {
- "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.",
+ "v1alpha1.MutatingAdmissionPolicyBinding": {
+ "description": "MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).\n\nAdding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1100,21 +983,21 @@
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"spec": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBindingSpec",
- "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding."
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBindingSpec",
+ "description": "Specification of the desired behavior of the MutatingAdmissionPolicyBinding."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1alpha1"
}
]
},
- "v1alpha1.ValidatingAdmissionPolicyBindingList": {
- "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.",
+ "v1alpha1.MutatingAdmissionPolicyBindingList": {
+ "description": "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1123,7 +1006,7 @@
"items": {
"description": "List of PolicyBinding.",
"items": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
},
"type": "array"
},
@@ -1136,43 +1019,38 @@
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
+ "required": [
+ "items"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBindingList",
+ "kind": "MutatingAdmissionPolicyBindingList",
"version": "v1alpha1"
}
]
},
- "v1alpha1.ValidatingAdmissionPolicyBindingSpec": {
- "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.",
+ "v1alpha1.MutatingAdmissionPolicyBindingSpec": {
+ "description": "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.",
"properties": {
"matchResources": {
"$ref": "#/definitions/v1alpha1.MatchResources",
- "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required."
+ "description": "matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT."
},
"paramRef": {
"$ref": "#/definitions/v1alpha1.ParamRef",
- "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param."
+ "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param."
},
"policyName": {
- "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.",
+ "description": "policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.",
"type": "string"
- },
- "validationActions": {
- "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
}
},
"type": "object"
},
- "v1alpha1.ValidatingAdmissionPolicyList": {
- "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.",
+ "v1alpha1.MutatingAdmissionPolicyList": {
+ "description": "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1181,7 +1059,7 @@
"items": {
"description": "List of ValidatingAdmissionPolicy.",
"items": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
},
"type": "array"
},
@@ -1194,32 +1072,27 @@
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
+ "required": [
+ "items"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyList",
+ "kind": "MutatingAdmissionPolicyList",
"version": "v1alpha1"
}
]
},
- "v1alpha1.ValidatingAdmissionPolicySpec": {
- "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.",
+ "v1alpha1.MutatingAdmissionPolicySpec": {
+ "description": "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.",
"properties": {
- "auditAnnotations": {
- "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.",
- "items": {
- "$ref": "#/definitions/v1alpha1.AuditAnnotation"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
"failurePolicy": {
- "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail.",
+ "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nAllowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
- "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped",
+ "description": "matchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped",
"items": {
"$ref": "#/definitions/v1alpha1.MatchCondition"
},
@@ -1233,86 +1106,144 @@
},
"matchConstraints": {
"$ref": "#/definitions/v1alpha1.MatchResources",
- "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required."
- },
- "paramKind": {
- "$ref": "#/definitions/v1alpha1.ParamKind",
- "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null."
+ "description": "matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required."
},
- "validations": {
- "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.",
+ "mutations": {
+ "description": "mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.",
"items": {
- "$ref": "#/definitions/v1alpha1.Validation"
+ "$ref": "#/definitions/v1alpha1.Mutation"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "paramKind": {
+ "$ref": "#/definitions/v1alpha1.ParamKind",
+ "description": "paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null."
+ },
+ "reinvocationPolicy": {
+ "description": "reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: These mutations will not be called more than once per binding in a single admission evaluation.\n\nIfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies. Mutations are only reinvoked when mutations change the object after this mutation is invoked. Required.",
+ "type": "string"
+ },
"variables": {
- "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.",
+ "description": "variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except matchConditions because matchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, variables must be sorted by the order of first appearance and acyclic.",
"items": {
"$ref": "#/definitions/v1alpha1.Variable"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "name"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "name",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1alpha1.ValidatingAdmissionPolicyStatus": {
- "description": "ValidatingAdmissionPolicyStatus represents the status of a ValidatingAdmissionPolicy.",
+ "v1alpha1.Mutation": {
+ "description": "Mutation specifies the CEL expression which is used to apply the Mutation.",
"properties": {
- "conditions": {
- "description": "The conditions represent the latest available observations of a policy's current state.",
+ "applyConfiguration": {
+ "$ref": "#/definitions/v1alpha1.ApplyConfiguration",
+ "description": "applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration."
+ },
+ "jsonPatch": {
+ "$ref": "#/definitions/v1alpha1.JSONPatch",
+ "description": "jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch."
+ },
+ "patchType": {
+ "description": "patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "patchType"
+ ],
+ "type": "object"
+ },
+ "v1alpha1.NamedRuleWithOperations": {
+ "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
+ "properties": {
+ "apiGroups": {
+ "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.",
"items": {
- "$ref": "#/definitions/v1.Condition"
+ "type": "string"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map"
+ "x-kubernetes-list-type": "atomic"
},
- "observedGeneration": {
- "description": "The generation observed by the controller.",
- "format": "int64",
- "type": "integer"
+ "apiVersions": {
+ "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "typeChecking": {
- "$ref": "#/definitions/v1alpha1.TypeChecking",
- "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking."
+ "operations": {
+ "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resourceNames": {
+ "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resources": {
+ "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "scope": {
+ "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".",
+ "type": "string"
}
},
- "type": "object"
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
},
- "v1alpha1.Validation": {
- "description": "Validation specifies the CEL expression which is used to apply the validation.",
+ "v1alpha1.ParamKind": {
+ "description": "ParamKind is a tuple of Group Kind and Version.",
"properties": {
- "expression": {
- "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\nRequired.",
+ "apiVersion": {
+ "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.",
"type": "string"
},
- "message": {
- "description": "Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".",
+ "kind": {
+ "description": "Kind is the API kind the resources belong to. Required.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
+ "v1alpha1.ParamRef": {
+ "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.",
+ "properties": {
+ "name": {
+ "description": "`name` is the name of the resource being referenced.\n\n`name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.",
"type": "string"
},
- "messageExpression": {
- "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"",
+ "namespace": {
+ "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.",
"type": "string"
},
- "reason": {
- "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.",
+ "parameterNotFoundAction": {
+ "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny` Default to `Deny`",
"type": "string"
+ },
+ "selector": {
+ "$ref": "#/definitions/v1.LabelSelector",
+ "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset."
}
},
- "required": [
- "expression"
- ],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
},
"v1alpha1.Variable": {
"description": "Variable is the definition of a variable that is used for composition.",
@@ -1332,40 +1263,24 @@
],
"type": "object"
},
- "v1beta1.AuditAnnotation": {
- "description": "AuditAnnotation describes how to produce an audit annotation for an API request.",
+ "v1beta1.ApplyConfiguration": {
+ "description": "ApplyConfiguration defines the desired configuration values of an object.",
"properties": {
- "key": {
- "description": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired.",
- "type": "string"
- },
- "valueExpression": {
- "description": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired.",
+ "expression": {
+ "description": "expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec\n\nApply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:\n\n\tObject{\n\t spec: Object.spec{\n\t serviceAccountName: \"example\"\n\t }\n\t}\n\nApply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.\n\nCEL expressions have access to the object types needed to create apply configurations:\n\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.",
"type": "string"
}
},
- "required": [
- "key",
- "valueExpression"
- ],
"type": "object"
},
- "v1beta1.ExpressionWarning": {
- "description": "ExpressionWarning is a warning information that targets a specific expression.",
+ "v1beta1.JSONPatch": {
+ "description": "JSONPatch defines a JSON Patch.",
"properties": {
- "fieldRef": {
- "description": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"",
- "type": "string"
- },
- "warning": {
- "description": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.",
+ "expression": {
+ "description": "expression will be evaluated by CEL to create a [JSON patch](https://jsonpatch.com/). ref: https://github.com/google/cel-spec\n\nexpression must return an array of JSONPatch values.\n\nFor example, this CEL expression returns a JSON patch to conditionally modify a value:\n\n\t [\n\t JSONPatch{op: \"test\", path: \"/spec/example\", value: \"Red\"},\n\t JSONPatch{op: \"replace\", path: \"/spec/example\", value: \"Green\"}\n\t ]\n\nTo define an object for the patch value, use Object types. For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/spec/selector\",\n\t value: Object.spec.selector{matchLabels: {\"environment\": \"test\"}}\n\t }\n\t ]\n\nTo use strings containing '/' and '~' as JSONPatch path keys, use \"jsonpatch.escapeKey\". For example:\n\n\t [\n\t JSONPatch{\n\t op: \"add\",\n\t path: \"/metadata/labels/\" + jsonpatch.escapeKey(\"example.com/environment\"),\n\t value: \"test\"\n\t },\n\t ]\n\nCEL expressions have access to the types needed to create JSON patches and objects:\n\n- 'JSONPatch' - CEL type of JSON Patch operations. JSONPatch has the fields 'op', 'from', 'path' and 'value'.\n See [JSON patch](https://jsonpatch.com/) for more details. The 'value' field may be set to any of: string,\n integer, array, map or object. If set, the 'path' and 'from' fields must be set to a\n [JSON pointer](https://datatracker.ietf.org/doc/html/rfc6901/) string, where the 'jsonpatch.escapeKey()' CEL\n function may be used to escape path keys containing '/' and '~'.\n- 'Object' - CEL type of the resource object. - 'Object.' - CEL type of object field (such as 'Object.spec') - 'Object.....` - CEL type of nested field (such as 'Object.spec.containers')\n\nCEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nCEL expressions have access to [Kubernetes CEL function libraries](https://kubernetes.io/docs/reference/using-api/cel/#cel-options-language-features-and-libraries) as well as:\n\n- 'jsonpatch.escapeKey' - Performs JSONPatch key escaping. '~' and '/' are escaped as '~0' and `~1' respectively).\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Required.",
"type": "string"
}
},
- "required": [
- "fieldRef",
- "warning"
- ],
"type": "object"
},
"v1beta1.MatchCondition": {
@@ -1421,111 +1336,8 @@
"type": "object",
"x-kubernetes-map-type": "atomic"
},
- "v1beta1.NamedRuleWithOperations": {
- "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
- "properties": {
- "apiGroups": {
- "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "apiVersions": {
- "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "operations": {
- "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "resourceNames": {
- "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "resources": {
- "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "scope": {
- "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".",
- "type": "string"
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1beta1.ParamKind": {
- "description": "ParamKind is a tuple of Group Kind and Version.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.",
- "type": "string"
- },
- "kind": {
- "description": "Kind is the API kind the resources belong to. Required.",
- "type": "string"
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1beta1.ParamRef": {
- "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.",
- "properties": {
- "name": {
- "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.",
- "type": "string"
- },
- "namespace": {
- "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.",
- "type": "string"
- },
- "parameterNotFoundAction": {
- "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired",
- "type": "string"
- },
- "selector": {
- "$ref": "#/definitions/v1.LabelSelector",
- "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset."
- }
- },
- "type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1beta1.TypeChecking": {
- "description": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy",
- "properties": {
- "expressionWarnings": {
- "description": "The type checking warnings for each expression.",
- "items": {
- "$ref": "#/definitions/v1beta1.ExpressionWarning"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- }
- },
- "type": "object"
- },
- "v1beta1.ValidatingAdmissionPolicy": {
- "description": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.",
+ "v1beta1.MutatingAdmissionPolicy": {
+ "description": "MutatingAdmissionPolicy describes the definition of an admission mutation policy that mutates the object coming into admission chain.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1540,25 +1352,21 @@
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"spec": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicySpec",
- "description": "Specification of the desired behavior of the ValidatingAdmissionPolicy."
- },
- "status": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyStatus",
- "description": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only."
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicySpec",
+ "description": "Specification of the desired behavior of the MutatingAdmissionPolicy."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "kind": "MutatingAdmissionPolicy",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicyBinding": {
- "description": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.",
+ "v1beta1.MutatingAdmissionPolicyBinding": {
+ "description": "MutatingAdmissionPolicyBinding binds the MutatingAdmissionPolicy with parametrized resources. MutatingAdmissionPolicyBinding and the optional parameter resource together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding. Each evaluation is constrained by a [runtime cost budget](https://kubernetes.io/docs/reference/using-api/cel/#runtime-cost-budget).\n\nAdding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1573,21 +1381,21 @@
"description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata."
},
"spec": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBindingSpec",
- "description": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding."
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBindingSpec",
+ "description": "Specification of the desired behavior of the MutatingAdmissionPolicyBinding."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "kind": "MutatingAdmissionPolicyBinding",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicyBindingList": {
- "description": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.",
+ "v1beta1.MutatingAdmissionPolicyBindingList": {
+ "description": "MutatingAdmissionPolicyBindingList is a list of MutatingAdmissionPolicyBinding.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1596,7 +1404,7 @@
"items": {
"description": "List of PolicyBinding.",
"items": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
},
"type": "array"
},
@@ -1609,43 +1417,38 @@
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
+ "required": [
+ "items"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBindingList",
+ "kind": "MutatingAdmissionPolicyBindingList",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicyBindingSpec": {
- "description": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.",
+ "v1beta1.MutatingAdmissionPolicyBindingSpec": {
+ "description": "MutatingAdmissionPolicyBindingSpec is the specification of the MutatingAdmissionPolicyBinding.",
"properties": {
"matchResources": {
"$ref": "#/definitions/v1beta1.MatchResources",
- "description": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required."
+ "description": "matchResources limits what resources match this binding and may be mutated by it. Note that if matchResources matches a resource, the resource must also match a policy's matchConstraints and matchConditions before the resource may be mutated. When matchResources is unset, it does not constrain resource matching, and only the policy's matchConstraints and matchConditions must match for the resource to be mutated. Additionally, matchResources.resourceRules are optional and do not constraint matching when unset. Note that this is differs from MutatingAdmissionPolicy matchConstraints, where resourceRules are required. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT."
},
"paramRef": {
"$ref": "#/definitions/v1beta1.ParamRef",
- "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param."
+ "description": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in spec.ParamKind of the bound MutatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the MutatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param."
},
"policyName": {
- "description": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.",
+ "description": "policyName references a MutatingAdmissionPolicy name which the MutatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.",
"type": "string"
- },
- "validationActions": {
- "description": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
}
},
"type": "object"
},
- "v1beta1.ValidatingAdmissionPolicyList": {
- "description": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.",
+ "v1beta1.MutatingAdmissionPolicyList": {
+ "description": "MutatingAdmissionPolicyList is a list of MutatingAdmissionPolicy.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -1654,7 +1457,7 @@
"items": {
"description": "List of ValidatingAdmissionPolicy.",
"items": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
},
"type": "array"
},
@@ -1667,32 +1470,27 @@
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
}
},
+ "required": [
+ "items"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyList",
+ "kind": "MutatingAdmissionPolicyList",
"version": "v1beta1"
}
]
},
- "v1beta1.ValidatingAdmissionPolicySpec": {
- "description": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.",
+ "v1beta1.MutatingAdmissionPolicySpec": {
+ "description": "MutatingAdmissionPolicySpec is the specification of the desired behavior of the admission policy.",
"properties": {
- "auditAnnotations": {
- "description": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.",
- "items": {
- "$ref": "#/definitions/v1beta1.AuditAnnotation"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
"failurePolicy": {
- "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail.",
+ "description": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if paramKind refers to a non-existent Kind. A binding is invalid if paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nAllowed values are Ignore or Fail. Defaults to Fail.",
"type": "string"
},
"matchConditions": {
- "description": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped",
+ "description": "matchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the matchConstraints. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped",
"items": {
"$ref": "#/definitions/v1beta1.MatchCondition"
},
@@ -1706,86 +1504,144 @@
},
"matchConstraints": {
"$ref": "#/definitions/v1beta1.MatchResources",
- "description": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required."
+ "description": "matchConstraints specifies what resources this policy is designed to validate. The MutatingAdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API MutatingAdmissionPolicy cannot match MutatingAdmissionPolicy and MutatingAdmissionPolicyBinding. The CREATE, UPDATE and CONNECT operations are allowed. The DELETE operation may not be matched. '*' matches CREATE, UPDATE and CONNECT. Required."
},
- "paramKind": {
- "$ref": "#/definitions/v1beta1.ParamKind",
- "description": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null."
- },
- "validations": {
- "description": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.",
+ "mutations": {
+ "description": "mutations contain operations to perform on matching objects. mutations may not be empty; a minimum of one mutation is required. mutations are evaluated in order, and are reinvoked according to the reinvocationPolicy. The mutations of a policy are invoked for each binding of this policy and reinvocation of mutations occurs on a per binding basis.",
"items": {
- "$ref": "#/definitions/v1beta1.Validation"
+ "$ref": "#/definitions/v1beta1.Mutation"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "paramKind": {
+ "$ref": "#/definitions/v1beta1.ParamKind",
+ "description": "paramKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If paramKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in MutatingAdmissionPolicyBinding, the params variable will be null."
+ },
+ "reinvocationPolicy": {
+ "description": "reinvocationPolicy indicates whether mutations may be called multiple times per MutatingAdmissionPolicyBinding as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: These mutations will not be called more than once per binding in a single admission evaluation.\n\nIfNeeded: These mutations may be invoked more than once per binding for a single admission request and there is no guarantee of order with respect to other admission plugins, admission webhooks, bindings of this policy and admission policies. Mutations are only reinvoked when mutations change the object after this mutation is invoked. Required.",
+ "type": "string"
+ },
"variables": {
- "description": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.",
+ "description": "variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except matchConditions because matchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, variables must be sorted by the order of first appearance and acyclic.",
"items": {
"$ref": "#/definitions/v1beta1.Variable"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "name"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "name",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1beta1.ValidatingAdmissionPolicyStatus": {
- "description": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.",
+ "v1beta1.Mutation": {
+ "description": "Mutation specifies the CEL expression which is used to apply the Mutation.",
"properties": {
- "conditions": {
- "description": "The conditions represent the latest available observations of a policy's current state.",
+ "applyConfiguration": {
+ "$ref": "#/definitions/v1beta1.ApplyConfiguration",
+ "description": "applyConfiguration defines the desired configuration values of an object. The configuration is applied to the admission object using [structured merge diff](https://github.com/kubernetes-sigs/structured-merge-diff). A CEL expression is used to create apply configuration."
+ },
+ "jsonPatch": {
+ "$ref": "#/definitions/v1beta1.JSONPatch",
+ "description": "jsonPatch defines a [JSON patch](https://jsonpatch.com/) operation to perform a mutation to the object. A CEL expression is used to create the JSON patch."
+ },
+ "patchType": {
+ "description": "patchType indicates the patch strategy used. Allowed values are \"ApplyConfiguration\" and \"JSONPatch\". Required.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "patchType"
+ ],
+ "type": "object"
+ },
+ "v1beta1.NamedRuleWithOperations": {
+ "description": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
+ "properties": {
+ "apiGroups": {
+ "description": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.",
"items": {
- "$ref": "#/definitions/v1.Condition"
+ "type": "string"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map"
+ "x-kubernetes-list-type": "atomic"
},
- "observedGeneration": {
- "description": "The generation observed by the controller.",
- "format": "int64",
- "type": "integer"
+ "apiVersions": {
+ "description": "APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "typeChecking": {
- "$ref": "#/definitions/v1beta1.TypeChecking",
- "description": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking."
+ "operations": {
+ "description": "Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resourceNames": {
+ "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resources": {
+ "description": "Resources is a list of resources this rule applies to.\n\nFor example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.\n\nIf wildcard is present, the validation rule will ensure resources do not overlap with each other.\n\nDepending on the enclosing object, subresources might not be allowed. Required.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "scope": {
+ "description": "scope specifies the scope of this rule. Valid values are \"Cluster\", \"Namespaced\", and \"*\" \"Cluster\" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. \"Namespaced\" means that only namespaced resources will match this rule. \"*\" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is \"*\".",
+ "type": "string"
}
},
- "type": "object"
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
},
- "v1beta1.Validation": {
- "description": "Validation specifies the CEL expression which is used to apply the validation.",
+ "v1beta1.ParamKind": {
+ "description": "ParamKind is a tuple of Group Kind and Version.",
"properties": {
- "expression": {
- "description": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\nRequired.",
+ "apiVersion": {
+ "description": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.",
"type": "string"
},
- "message": {
- "description": "Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".",
+ "kind": {
+ "description": "Kind is the API kind the resources belong to. Required.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
+ "v1beta1.ParamRef": {
+ "description": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.",
+ "properties": {
+ "name": {
+ "description": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.",
"type": "string"
},
- "messageExpression": {
- "description": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"",
+ "namespace": {
+ "description": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.",
"type": "string"
},
- "reason": {
- "description": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.",
+ "parameterNotFoundAction": {
+ "description": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired",
"type": "string"
+ },
+ "selector": {
+ "$ref": "#/definitions/v1.LabelSelector",
+ "description": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset."
}
},
- "required": [
- "expression"
- ],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
},
"v1beta1.Variable": {
"description": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.",
@@ -2420,7 +2276,7 @@
"description": "DeploymentStatus is the most recently observed status of the Deployment.",
"properties": {
"availableReplicas": {
- "description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.",
+ "description": "Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.",
"format": "int32",
"type": "integer"
},
@@ -2448,12 +2304,17 @@
"type": "integer"
},
"readyReplicas": {
- "description": "readyReplicas is the number of pods targeted by this Deployment with a Ready Condition.",
+ "description": "Total number of non-terminating pods targeted by this Deployment with a Ready Condition.",
"format": "int32",
"type": "integer"
},
"replicas": {
- "description": "Total number of non-terminated pods targeted by this deployment (their labels match the selector).",
+ "description": "Total number of non-terminating pods targeted by this deployment (their labels match the selector).",
+ "format": "int32",
+ "type": "integer"
+ },
+ "terminatingReplicas": {
+ "description": "Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.\n\nThis is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.",
"format": "int32",
"type": "integer"
},
@@ -2463,7 +2324,7 @@
"type": "integer"
},
"updatedReplicas": {
- "description": "Total number of non-terminated pods targeted by this deployment that have the desired template spec.",
+ "description": "Total number of non-terminating pods targeted by this deployment that have the desired template spec.",
"format": "int32",
"type": "integer"
}
@@ -2556,7 +2417,7 @@
"type": "string"
},
"items": {
- "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller",
+ "description": "List of ReplicaSets. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset",
"items": {
"$ref": "#/definitions/v1.ReplicaSet"
},
@@ -2592,7 +2453,7 @@
"type": "integer"
},
"replicas": {
- "description": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller",
+ "description": "Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset",
"format": "int32",
"type": "integer"
},
@@ -2602,7 +2463,7 @@
},
"template": {
"$ref": "#/definitions/v1.PodTemplateSpec",
- "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template"
+ "description": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-template"
}
},
"required": [
@@ -2614,7 +2475,7 @@
"description": "ReplicaSetStatus represents the current status of a ReplicaSet.",
"properties": {
"availableReplicas": {
- "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.",
+ "description": "The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.",
"format": "int32",
"type": "integer"
},
@@ -2632,7 +2493,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"fullyLabeledReplicas": {
- "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.",
+ "description": "The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.",
"format": "int32",
"type": "integer"
},
@@ -2642,12 +2503,17 @@
"type": "integer"
},
"readyReplicas": {
- "description": "readyReplicas is the number of pods targeted by this ReplicaSet with a Ready Condition.",
+ "description": "The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.",
"format": "int32",
"type": "integer"
},
"replicas": {
- "description": "Replicas is the most recently observed number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller",
+ "description": "Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset",
+ "format": "int32",
+ "type": "integer"
+ },
+ "terminatingReplicas": {
+ "description": "The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.\n\nThis is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.",
"format": "int32",
"type": "integer"
}
@@ -2662,7 +2528,7 @@
"properties": {
"maxSurge": {
"$ref": "#/definitions/intstr.IntOrString",
- "description": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption."
+ "description": "The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediately created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption."
},
"maxUnavailable": {
"$ref": "#/definitions/intstr.IntOrString",
@@ -2834,11 +2700,11 @@
},
"ordinals": {
"$ref": "#/definitions/v1.StatefulSetOrdinals",
- "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested. Using the ordinals field requires the StatefulSetStartOrdinal feature gate to be enabled, which is beta."
+ "description": "ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a \"0\" index to the first replica and increments the index by one for each additional replica requested."
},
"persistentVolumeClaimRetentionPolicy": {
"$ref": "#/definitions/v1.StatefulSetPersistentVolumeClaimRetentionPolicy",
- "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down. This requires the StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. +optional"
+ "description": "persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down."
},
"podManagementPolicy": {
"description": "podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.",
@@ -2881,8 +2747,7 @@
},
"required": [
"selector",
- "template",
- "serviceName"
+ "template"
],
"type": "object"
},
@@ -3219,80 +3084,38 @@
},
"type": "object"
},
- "v1alpha1.SelfSubjectReview": {
- "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.",
+ "v1.FieldSelectorAttributes": {
+ "description": "FieldSelectorAttributes indicates a field limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "rawSelector": {
+ "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "status": {
- "$ref": "#/definitions/v1alpha1.SelfSubjectReviewStatus",
- "description": "Status is filled in by the server with the user attributes."
- }
- },
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "authentication.k8s.io",
- "kind": "SelfSubjectReview",
- "version": "v1alpha1"
- }
- ]
- },
- "v1alpha1.SelfSubjectReviewStatus": {
- "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.",
- "properties": {
- "userInfo": {
- "$ref": "#/definitions/v1.UserInfo",
- "description": "User attributes of the user making this request."
+ "requirements": {
+ "description": "requirements is the parsed interpretation of a field selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.",
+ "items": {
+ "$ref": "#/definitions/v1.FieldSelectorRequirement"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1beta1.SelfSubjectReview": {
- "description": "SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.",
+ "v1.LabelSelectorAttributes": {
+ "description": "LabelSelectorAttributes indicates a label limited access. Webhook authors are encouraged to * ensure rawSelector and requirements are not both set * consider the requirements field if set * not try to parse or consider the rawSelector field if set. This is to avoid another CVE-2022-2880 (i.e. getting different systems to agree on how exactly to parse a query is not something we want), see https://www.oxeye.io/resources/golang-parameter-smuggling-attack for more details. For the *SubjectAccessReview endpoints of the kube-apiserver: * If rawSelector is empty and requirements are empty, the request is not limited. * If rawSelector is present and requirements are empty, the rawSelector will be parsed and limited if the parsing succeeds. * If rawSelector is empty and requirements are present, the requirements should be honored * If rawSelector is present and requirements are present, the request is invalid.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "rawSelector": {
+ "description": "rawSelector is the serialization of a field selector that would be included in a query parameter. Webhook implementations are encouraged to ignore rawSelector. The kube-apiserver's *SubjectAccessReview will parse the rawSelector as long as the requirements are not present.",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "status": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReviewStatus",
- "description": "Status is filled in by the server with the user attributes."
- }
- },
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "authentication.k8s.io",
- "kind": "SelfSubjectReview",
- "version": "v1beta1"
- }
- ]
- },
- "v1beta1.SelfSubjectReviewStatus": {
- "description": "SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.",
- "properties": {
- "userInfo": {
- "$ref": "#/definitions/v1.UserInfo",
- "description": "User attributes of the user making this request."
+ "requirements": {
+ "description": "requirements is the parsed interpretation of a label selector. All requirements must be met for a resource instance to match the selector. Webhook implementations should handle requirements, but how to handle them is up to the webhook. Since requirements can only limit the request, it is safe to authorize as unlimited request if the requirements are not understood.",
+ "items": {
+ "$ref": "#/definitions/v1.LabelSelectorRequirement"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
@@ -3375,10 +3198,18 @@
"v1.ResourceAttributes": {
"description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface",
"properties": {
+ "fieldSelector": {
+ "$ref": "#/definitions/v1.FieldSelectorAttributes",
+ "description": "fieldSelector describes the limitation on access based on field. It can only limit access, not broaden it."
+ },
"group": {
"description": "Group is the API Group of the Resource. \"*\" means all.",
"type": "string"
},
+ "labelSelector": {
+ "$ref": "#/definitions/v1.LabelSelectorAttributes",
+ "description": "labelSelector describes the limitation on access based on labels. It can only limit access, not broaden it."
+ },
"name": {
"description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.",
"type": "string"
@@ -4026,10 +3857,10 @@
"type": "object"
},
"v2.HPAScalingRules": {
- "description": "HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.",
+ "description": "HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.\n\nScaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.\n\nThe tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)",
"properties": {
"policies": {
- "description": "policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid",
+ "description": "policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.",
"items": {
"$ref": "#/definitions/v2.HPAScalingPolicy"
},
@@ -4044,6 +3875,10 @@
"description": "stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).",
"format": "int32",
"type": "integer"
+ },
+ "tolerance": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).\n\nFor example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.\n\nThis is an alpha field and requires enabling the HPAConfigurableTolerance feature gate."
}
},
"type": "object"
@@ -4269,7 +4104,7 @@
"properties": {
"containerResource": {
"$ref": "#/definitions/v2.ContainerResourceMetricSource",
- "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag."
+ "description": "containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."
},
"external": {
"$ref": "#/definitions/v2.ExternalMetricSource",
@@ -4288,7 +4123,7 @@
"description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."
},
"type": {
- "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled",
+ "description": "type is the type of metric source. It should be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each mapping to a matching field in the object.",
"type": "string"
}
},
@@ -4321,7 +4156,7 @@
"description": "resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the \"pods\" source."
},
"type": {
- "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object. Note: \"ContainerResource\" type is available on when the feature-gate HPAContainerMetrics is enabled",
+ "description": "type is the type of metric source. It will be one of \"ContainerResource\", \"External\", \"Object\", \"Pods\" or \"Resource\", each corresponds to a matching field in the object.",
"type": "string"
}
},
@@ -4743,12 +4578,12 @@
"type": "integer"
},
"backoffLimit": {
- "description": "Specifies the number of retries before marking this job failed. Defaults to 6",
+ "description": "Specifies the number of retries before marking this job failed. Defaults to 6, unless backoffLimitPerIndex (only Indexed Job) is specified. When backoffLimitPerIndex is specified, backoffLimit defaults to 2147483647.",
"format": "int32",
"type": "integer"
},
"backoffLimitPerIndex": {
- "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
+ "description": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.",
"format": "int32",
"type": "integer"
},
@@ -4762,7 +4597,7 @@
"type": "integer"
},
"managedBy": {
- "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).",
+ "description": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.\n\nThis field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).",
"type": "string"
},
"manualSelector": {
@@ -4770,7 +4605,7 @@
"type": "boolean"
},
"maxFailedIndexes": {
- "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
+ "description": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.",
"format": "int32",
"type": "integer"
},
@@ -4781,10 +4616,10 @@
},
"podFailurePolicy": {
"$ref": "#/definitions/v1.PodFailurePolicy",
- "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default)."
+ "description": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure."
},
"podReplacementPolicy": {
- "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.",
+ "description": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use.",
"type": "string"
},
"selector": {
@@ -4793,7 +4628,7 @@
},
"successPolicy": {
"$ref": "#/definitions/v1.SuccessPolicy",
- "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default)."
+ "description": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated."
},
"suspend": {
"description": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.",
@@ -4847,11 +4682,11 @@
"type": "integer"
},
"failedIndexes": {
- "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.\n\nThis field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
+ "description": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.",
"type": "string"
},
"ready": {
- "description": "The number of pods which have a Ready condition.",
+ "description": "The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).",
"format": "int32",
"type": "integer"
},
@@ -4957,7 +4792,7 @@
"description": "PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.",
"properties": {
"action": {
- "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n This value is beta-level. It can be used when the\n `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.",
+ "description": "Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:\n\n- FailJob: indicates that the pod's job is marked as Failed and all\n running pods are terminated.\n- FailIndex: indicates that the pod's index is marked as Failed and will\n not be restarted.\n- Ignore: indicates that the counter towards the .backoffLimit is not\n incremented and a replacement pod is created.\n- Count: indicates that the pod is handled in the default way - the\n counter towards the .backoffLimit is incremented.\nAdditional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.",
"type": "string"
},
"onExitCodes": {
@@ -4982,7 +4817,7 @@
"description": "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.",
"properties": {
"rules": {
- "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.",
+ "description": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SuccessCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.",
"items": {
"$ref": "#/definitions/v1.SuccessPolicyRule"
},
@@ -5303,6 +5138,259 @@
],
"type": "object"
},
+ "v1alpha1.PodCertificateRequest": {
+ "description": "PodCertificateRequest encodes a pod requesting a certificate from a given signer.\n\nKubelets use this API to implement podCertificate projected volumes",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "metadata contains the object metadata."
+ },
+ "spec": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestSpec",
+ "description": "spec contains the details about the certificate being requested."
+ },
+ "status": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestStatus",
+ "description": "status contains the issued certificate, and a standard set of conditions."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.PodCertificateRequestList": {
+ "description": "PodCertificateRequestList is a collection of PodCertificateRequest objects",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is a collection of PodCertificateRequest objects",
+ "items": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "metadata contains the list metadata."
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequestList",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.PodCertificateRequestSpec": {
+ "description": "PodCertificateRequestSpec describes the certificate request. All fields are immutable after creation.",
+ "properties": {
+ "maxExpirationSeconds": {
+ "description": "maxExpirationSeconds is the maximum lifetime permitted for the certificate.\n\nIf omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days).\n\nThe signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "nodeName": {
+ "description": "nodeName is the name of the node the pod is assigned to.",
+ "type": "string"
+ },
+ "nodeUID": {
+ "description": "nodeUID is the UID of the node the pod is assigned to.",
+ "type": "string"
+ },
+ "pkixPublicKey": {
+ "description": "pkixPublicKey is the PKIX-serialized public key the signer will issue the certificate to.\n\nThe key must be one of RSA3072, RSA4096, ECDSAP256, ECDSAP384, ECDSAP521, or ED25519. Note that this list may be expanded in the future.\n\nSigner implementations do not need to support all key types supported by kube-apiserver and kubelet. If a signer does not support the key type used for a given PodCertificateRequest, it must deny the request by setting a status.conditions entry with a type of \"Denied\" and a reason of \"UnsupportedKeyType\". It may also suggest a key type that it does support in the message field.",
+ "format": "byte",
+ "type": "string"
+ },
+ "podName": {
+ "description": "podName is the name of the pod into which the certificate will be mounted.",
+ "type": "string"
+ },
+ "podUID": {
+ "description": "podUID is the UID of the pod into which the certificate will be mounted.",
+ "type": "string"
+ },
+ "proofOfPossession": {
+ "description": "proofOfPossession proves that the requesting kubelet holds the private key corresponding to pkixPublicKey.\n\nIt is contructed by signing the ASCII bytes of the pod's UID using `pkixPublicKey`.\n\nkube-apiserver validates the proof of possession during creation of the PodCertificateRequest.\n\nIf the key is an RSA key, then the signature is over the ASCII bytes of the pod UID, using RSASSA-PSS from RFC 8017 (as implemented by the golang function crypto/rsa.SignPSS with nil options).\n\nIf the key is an ECDSA key, then the signature is as described by [SEC 1, Version 2.0](https://www.secg.org/sec1-v2.pdf) (as implemented by the golang library function crypto/ecdsa.SignASN1)\n\nIf the key is an ED25519 key, the the signature is as described by the [ED25519 Specification](https://ed25519.cr.yp.to/) (as implemented by the golang library crypto/ed25519.Sign).",
+ "format": "byte",
+ "type": "string"
+ },
+ "serviceAccountName": {
+ "description": "serviceAccountName is the name of the service account the pod is running as.",
+ "type": "string"
+ },
+ "serviceAccountUID": {
+ "description": "serviceAccountUID is the UID of the service account the pod is running as.",
+ "type": "string"
+ },
+ "signerName": {
+ "description": "signerName indicates the requested signer.\n\nAll signer names beginning with `kubernetes.io` are reserved for use by the Kubernetes project. There is currently one well-known signer documented by the Kubernetes project, `kubernetes.io/kube-apiserver-client-pod`, which will issue client certificates understood by kube-apiserver. It is currently unimplemented.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "signerName",
+ "podName",
+ "podUID",
+ "serviceAccountName",
+ "serviceAccountUID",
+ "nodeName",
+ "nodeUID",
+ "pkixPublicKey",
+ "proofOfPossession"
+ ],
+ "type": "object"
+ },
+ "v1alpha1.PodCertificateRequestStatus": {
+ "description": "PodCertificateRequestStatus describes the status of the request, and holds the certificate data if the request is issued.",
+ "properties": {
+ "beginRefreshAt": {
+ "description": "beginRefreshAt is the time at which the kubelet should begin trying to refresh the certificate. This field is set via the /status subresource, and must be set at the same time as certificateChain. Once populated, this field is immutable.\n\nThis field is only a hint. Kubelet may start refreshing before or after this time if necessary.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "certificateChain": {
+ "description": "certificateChain is populated with an issued certificate by the signer. This field is set via the /status subresource. Once populated, this field is immutable.\n\nIf the certificate signing request is denied, a condition of type \"Denied\" is added and this field remains empty. If the signer cannot issue the certificate, a condition of type \"Failed\" is added and this field remains empty.\n\nValidation requirements:\n 1. certificateChain must consist of one or more PEM-formatted certificates.\n 2. Each entry must be a valid PEM-wrapped, DER-encoded ASN.1 Certificate as\n described in section 4 of RFC5280.\n\nIf more than one block is present, and the definition of the requested spec.signerName does not indicate otherwise, the first block is the issued certificate, and subsequent blocks should be treated as intermediate certificates and presented in TLS handshakes. When projecting the chain into a pod volume, kubelet will drop any data in-between the PEM blocks, as well as any PEM block headers.",
+ "type": "string"
+ },
+ "conditions": {
+ "description": "conditions applied to the request.\n\nThe types \"Issued\", \"Denied\", and \"Failed\" have special handling. At most one of these conditions may be present, and they must have status \"True\".\n\nIf the request is denied with `Reason=UnsupportedKeyType`, the signer may suggest a key type that will work in the message field.",
+ "items": {
+ "$ref": "#/definitions/v1.Condition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
+ },
+ "notAfter": {
+ "description": "notAfter is the time at which the certificate expires. The value must be the same as the notAfter value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "notBefore": {
+ "description": "notBefore is the time at which the certificate becomes valid. The value must be the same as the notBefore value in the leaf certificate in certificateChain. This field is set via the /status subresource. Once populated, it is immutable. The signer must set this field at the same time it sets certificateChain.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.ClusterTrustBundle": {
+ "description": "ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).\n\nClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.\n\nIt can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "metadata contains the object metadata."
+ },
+ "spec": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundleSpec",
+ "description": "spec contains the signer (if any) and trust anchors."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.ClusterTrustBundleList": {
+ "description": "ClusterTrustBundleList is a collection of ClusterTrustBundle objects",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is a collection of ClusterTrustBundle objects",
+ "items": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "metadata contains the list metadata."
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundleList",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.ClusterTrustBundleSpec": {
+ "description": "ClusterTrustBundleSpec contains the signer and trust anchors.",
+ "properties": {
+ "signerName": {
+ "description": "signerName indicates the associated signer, if any.\n\nIn order to create or update a ClusterTrustBundle that sets signerName, you must have the following cluster-scoped permission: group=certificates.k8s.io resource=signers resourceName= verb=attest.\n\nIf signerName is not empty, then the ClusterTrustBundle object must be named with the signer name as a prefix (translating slashes to colons). For example, for the signer name `example.com/foo`, valid ClusterTrustBundle object names include `example.com:foo:abc` and `example.com:foo:v1`.\n\nIf signerName is empty, then the ClusterTrustBundle object's name must not have such a prefix.\n\nList/watch requests for ClusterTrustBundles can filter on this field using a `spec.signerName=NAME` field selector.",
+ "type": "string"
+ },
+ "trustBundle": {
+ "description": "trustBundle contains the individual X.509 trust anchors for this bundle, as PEM bundle of PEM-wrapped, DER-formatted X.509 certificates.\n\nThe data must consist only of PEM certificate blocks that parse as valid X.509 certificates. Each certificate must include a basic constraints extension with the CA bit set. The API server will reject objects that contain duplicate certificates, or that use PEM block headers.\n\nUsers of ClusterTrustBundles, including Kubelet, are free to reorder and deduplicate certificate blocks in this file according to their own logic, as well as to drop PEM block headers and inter-block data.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "trustBundle"
+ ],
+ "type": "object"
+ },
"v1.Lease": {
"description": "Lease defines a lease concept.",
"properties": {
@@ -5376,11 +5464,11 @@
"type": "string"
},
"holderIdentity": {
- "description": "holderIdentity contains the identity of the holder of a current lease.",
+ "description": "holderIdentity contains the identity of the holder of a current lease. If Coordinated Leader Election is used, the holder identity must be equal to the elected LeaseCandidate.metadata.name field.",
"type": "string"
},
"leaseDurationSeconds": {
- "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed renewTime.",
+ "description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measured against the time of last observed renewTime.",
"format": "int32",
"type": "integer"
},
@@ -5389,12 +5477,222 @@
"format": "int32",
"type": "integer"
},
+ "preferredHolder": {
+ "description": "PreferredHolder signals to a lease holder that the lease has a more optimal holder and should be given up. This field can only be set if Strategy is also set.",
+ "type": "string"
+ },
"renewTime": {
"description": "renewTime is a time when the current holder of a lease has last updated the lease.",
"format": "date-time",
"type": "string"
+ },
+ "strategy": {
+ "description": "Strategy indicates the strategy for picking the leader for coordinated leader election. If the field is not specified, there is no active coordination for this lease. (Alpha) Using this field requires the CoordinatedLeaderElection feature gate to be enabled.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1alpha2.LeaseCandidate": {
+ "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1alpha2.LeaseCandidateSpec",
+ "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
+ }
+ ]
+ },
+ "v1alpha2.LeaseCandidateList": {
+ "description": "LeaseCandidateList is a list of Lease objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is a list of schema objects.",
+ "items": {
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidateList",
+ "version": "v1alpha2"
+ }
+ ]
+ },
+ "v1alpha2.LeaseCandidateSpec": {
+ "description": "LeaseCandidateSpec is a specification of a Lease.",
+ "properties": {
+ "binaryVersion": {
+ "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.",
+ "type": "string"
+ },
+ "emulationVersion": {
+ "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"",
+ "type": "string"
+ },
+ "leaseName": {
+ "description": "LeaseName is the name of the lease for which this candidate is contending. This field is immutable.",
+ "type": "string"
+ },
+ "pingTime": {
+ "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "renewTime": {
+ "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "strategy": {
+ "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.",
+ "type": "string"
}
},
+ "required": [
+ "leaseName",
+ "binaryVersion",
+ "strategy"
+ ],
+ "type": "object"
+ },
+ "v1beta1.LeaseCandidate": {
+ "description": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1beta1.LeaseCandidateSpec",
+ "description": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.LeaseCandidateList": {
+ "description": "LeaseCandidateList is a list of Lease objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is a list of schema objects.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidateList",
+ "version": "v1beta1"
+ }
+ ]
+ },
+ "v1beta1.LeaseCandidateSpec": {
+ "description": "LeaseCandidateSpec is a specification of a Lease.",
+ "properties": {
+ "binaryVersion": {
+ "description": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.",
+ "type": "string"
+ },
+ "emulationVersion": {
+ "description": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"",
+ "type": "string"
+ },
+ "leaseName": {
+ "description": "LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.",
+ "type": "string"
+ },
+ "pingTime": {
+ "description": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "renewTime": {
+ "description": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "strategy": {
+ "description": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "leaseName",
+ "binaryVersion",
+ "strategy"
+ ],
"type": "object"
},
"v1.AWSElasticBlockStoreVolumeSource": {
@@ -5567,7 +5865,7 @@
"type": "object"
},
"v1.Binding": {
- "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler. Deprecated in 1.7, please use the bindings subresource of pods instead.",
+ "description": "Binding ties one object to another; for example, a pod is bound to a node by a scheduler.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -5599,7 +5897,7 @@
]
},
"v1.CSIPersistentVolumeSource": {
- "description": "Represents storage that is managed by an external CSI volume driver (Beta feature)",
+ "description": "Represents storage that is managed by an external CSI volume driver",
"properties": {
"controllerExpandSecretRef": {
"$ref": "#/definitions/v1.SecretReference",
@@ -5829,20 +6127,6 @@
],
"type": "object"
},
- "v1.ClaimSource": {
- "description": "ClaimSource describes a reference to a ResourceClaim.\n\nExactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- "properties": {
- "resourceClaimName": {
- "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- "type": "string"
- },
- "resourceClaimTemplateName": {
- "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- "type": "string"
- }
- },
- "type": "object"
- },
"v1.ClientIPConfig": {
"description": "ClientIPConfig represents the configurations of Client IP based session affinity.",
"properties": {
@@ -6030,7 +6314,7 @@
"description": "ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.\n\nThe contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.",
"properties": {
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
@@ -6048,7 +6332,7 @@
"type": "string"
},
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
@@ -6140,7 +6424,7 @@
"x-kubernetes-list-type": "atomic"
},
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
@@ -6167,7 +6451,7 @@
"x-kubernetes-list-type": "atomic"
},
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
@@ -6210,7 +6494,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"envFrom": {
- "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
+ "description": "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
"items": {
"$ref": "#/definitions/v1.EnvFromSource"
},
@@ -6268,9 +6552,17 @@
"description": "Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/"
},
"restartPolicy": {
- "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This field may only be set for init containers, and the only allowed value is \"Always\". For non-init containers or when this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.",
+ "description": "RestartPolicy defines the restart behavior of individual containers in a pod. This overrides the pod-level restart policy. When this field is not specified, the restart behavior is defined by the Pod's restart policy and the container type. Additionally, setting the RestartPolicy as \"Always\" for the init container will have the following effect: this init container will be continually restarted on exit until all regular containers have terminated. Once all regular containers have completed, all init containers with restartPolicy \"Always\" will be shut down. This lifecycle differs from normal init containers and is often referred to as a \"sidecar\" container. Although this init container still starts in the init container sequence, it does not wait for the container to complete before proceeding to the next init container. Instead, the next init container starts immediately after this init container is started, or after any startupProbe has successfully completed.",
"type": "string"
},
+ "restartPolicyRules": {
+ "description": "Represents a list of rules to be checked to determine if the container should be restarted on exit. The rules are evaluated in order. Once a rule matches a container exit condition, the remaining rules are ignored. If no rule matches the container exit condition, the Container-level restart policy determines the whether the container is restarted or not. Constraints on the rules: - At most 20 rules are allowed. - Rules can have the same action. - Identical rules are not forbidden in validations. When rules are specified, container MUST set RestartPolicy explicitly even it if matches the Pod's RestartPolicy.",
+ "items": {
+ "$ref": "#/definitions/v1.ContainerRestartRule"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"securityContext": {
"$ref": "#/definitions/v1.SecurityContext",
"description": "SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/"
@@ -6335,6 +6627,29 @@
],
"type": "object"
},
+ "v1.ContainerExtendedResourceRequest": {
+ "description": "ContainerExtendedResourceRequest has the mapping of container name, extended resource name to the device request name.",
+ "properties": {
+ "containerName": {
+ "description": "The name of the container requesting resources.",
+ "type": "string"
+ },
+ "requestName": {
+ "description": "The name of the request in the special ResourceClaim which corresponds to the extended resource.",
+ "type": "string"
+ },
+ "resourceName": {
+ "description": "The name of the extended resource in that container which gets backed by DRA.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "containerName",
+ "resourceName",
+ "requestName"
+ ],
+ "type": "object"
+ },
"v1.ContainerImage": {
"description": "Describe a container image",
"properties": {
@@ -6403,6 +6718,45 @@
],
"type": "object"
},
+ "v1.ContainerRestartRule": {
+ "description": "ContainerRestartRule describes how a container exit is handled.",
+ "properties": {
+ "action": {
+ "description": "Specifies the action taken on a container exit if the requirements are satisfied. The only possible value is \"Restart\" to restart the container.",
+ "type": "string"
+ },
+ "exitCodes": {
+ "$ref": "#/definitions/v1.ContainerRestartRuleOnExitCodes",
+ "description": "Represents the exit codes to check on container exits."
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ "v1.ContainerRestartRuleOnExitCodes": {
+ "description": "ContainerRestartRuleOnExitCodes describes the condition for handling an exited container based on its exit codes.",
+ "properties": {
+ "operator": {
+ "description": "Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the\n set of specified values.\n- NotIn: the requirement is satisfied if the container exit code is\n not in the set of specified values.",
+ "type": "string"
+ },
+ "values": {
+ "description": "Specifies the set of values to check for container exit codes. At most 255 elements are allowed.",
+ "items": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "set"
+ }
+ },
+ "required": [
+ "operator"
+ ],
+ "type": "object"
+ },
"v1.ContainerState": {
"description": "ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.",
"properties": {
@@ -6497,6 +6851,19 @@
"description": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.",
"type": "object"
},
+ "allocatedResourcesStatus": {
+ "description": "AllocatedResourcesStatus represents the status of various resources allocated for this Pod.",
+ "items": {
+ "$ref": "#/definitions/v1.ResourceStatus"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "name"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "name",
+ "x-kubernetes-patch-strategy": "merge"
+ },
"containerID": {
"description": "ContainerID is the ID of the container in the format '://'. Where type is a container runtime identifier, returned from Version call of CRI API (for example \"containerd\").",
"type": "string"
@@ -6538,6 +6905,14 @@
"$ref": "#/definitions/v1.ContainerState",
"description": "State holds details about the container's current condition."
},
+ "stopSignal": {
+ "description": "StopSignal reports the effective stop signal for this container",
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/v1.ContainerUser",
+ "description": "User represents user identity information initially attached to the first process of the container"
+ },
"volumeMounts": {
"description": "Status of volume mounts.",
"items": {
@@ -6561,6 +6936,16 @@
],
"type": "object"
},
+ "v1.ContainerUser": {
+ "description": "ContainerUser represents user identity information",
+ "properties": {
+ "linux": {
+ "$ref": "#/definitions/v1.LinuxContainerUser",
+ "description": "Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so."
+ }
+ },
+ "type": "object"
+ },
"v1.DaemonEndpoint": {
"description": "DaemonEndpoint contains information about a single Daemon endpoint.",
"properties": {
@@ -6649,7 +7034,7 @@
"type": "object"
},
"v1.EndpointAddress": {
- "description": "EndpointAddress is a tuple that describes single IP address.",
+ "description": "EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.",
"properties": {
"hostname": {
"description": "The Hostname of this endpoint",
@@ -6675,7 +7060,7 @@
"x-kubernetes-map-type": "atomic"
},
"core.v1.EndpointPort": {
- "description": "EndpointPort is a tuple that describes a single port.",
+ "description": "EndpointPort is a tuple that describes a single port. Deprecated: This API is deprecated in v1.33+.",
"properties": {
"appProtocol": {
"description": "The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:\n\n* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).\n\n* Kubernetes-defined prefixed names:\n * 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-\n * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455\n * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455\n\n* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.",
@@ -6702,7 +7087,7 @@
"x-kubernetes-map-type": "atomic"
},
"v1.EndpointSubset": {
- "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]",
+ "description": "EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:\n\n\t{\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t}\n\nThe resulting set of endpoints can be viewed as:\n\n\ta: [ 10.10.1.1:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]\n\nDeprecated: This API is deprecated in v1.33+.",
"properties": {
"addresses": {
"description": "IP addresses which offer the related ports that are marked as ready. These endpoints should be considered safe for load balancers and clients to utilize.",
@@ -6732,7 +7117,7 @@
"type": "object"
},
"v1.Endpoints": {
- "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]",
+ "description": "Endpoints is a collection of endpoints that implement the actual service. Example:\n\n\t Name: \"mysvc\",\n\t Subsets: [\n\t {\n\t Addresses: [{\"ip\": \"10.10.1.1\"}, {\"ip\": \"10.10.2.2\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 8675}, {\"name\": \"b\", \"port\": 309}]\n\t },\n\t {\n\t Addresses: [{\"ip\": \"10.10.3.3\"}],\n\t Ports: [{\"name\": \"a\", \"port\": 93}, {\"name\": \"b\", \"port\": 76}]\n\t },\n\t]\n\nEndpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.\n\nDeprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -6765,7 +7150,7 @@
]
},
"v1.EndpointsList": {
- "description": "EndpointsList is a list of endpoints.",
+ "description": "EndpointsList is a list of endpoints. Deprecated: This API is deprecated in v1.33+.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -6800,14 +7185,14 @@
]
},
"v1.EnvFromSource": {
- "description": "EnvFromSource represents the source of a set of ConfigMaps",
+ "description": "EnvFromSource represents the source of a set of ConfigMaps or Secrets",
"properties": {
"configMapRef": {
"$ref": "#/definitions/v1.ConfigMapEnvSource",
"description": "The ConfigMap to select from"
},
"prefix": {
- "description": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.",
+ "description": "Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except '='.",
"type": "string"
},
"secretRef": {
@@ -6821,7 +7206,7 @@
"description": "EnvVar represents an environment variable present in a Container.",
"properties": {
"name": {
- "description": "Name of the environment variable. Must be a C_IDENTIFIER.",
+ "description": "Name of the environment variable. May consist of any printable ASCII characters except '='.",
"type": "string"
},
"value": {
@@ -6849,6 +7234,10 @@
"$ref": "#/definitions/v1.ObjectFieldSelector",
"description": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs."
},
+ "fileKeyRef": {
+ "$ref": "#/definitions/v1.FileKeySelector",
+ "description": "FileKeyRef selects a key of the env file. Requires the EnvFiles feature gate to be enabled."
+ },
"resourceFieldRef": {
"$ref": "#/definitions/v1.ResourceFieldSelector",
"description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported."
@@ -6893,7 +7282,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"envFrom": {
- "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
+ "description": "List of sources to populate environment variables in the container. The keys defined within a source may consist of any printable ASCII characters except '='. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.",
"items": {
"$ref": "#/definitions/v1.EnvFromSource"
},
@@ -6951,9 +7340,17 @@
"description": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources already allocated to the pod."
},
"restartPolicy": {
- "description": "Restart policy for the container to manage the restart behavior of each container within a pod. This may only be set for init containers. You cannot set this field on ephemeral containers.",
+ "description": "Restart policy for the container to manage the restart behavior of each container within a pod. You cannot set this field on ephemeral containers.",
"type": "string"
},
+ "restartPolicyRules": {
+ "description": "Represents a list of rules to be checked to determine if the container should be restarted on exit. You cannot set this field on ephemeral containers.",
+ "items": {
+ "$ref": "#/definitions/v1.ContainerRestartRule"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"securityContext": {
"$ref": "#/definitions/v1.SecurityContext",
"description": "Optional: SecurityContext defines the security options the ephemeral container should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext."
@@ -7235,6 +7632,34 @@
},
"type": "object"
},
+ "v1.FileKeySelector": {
+ "description": "FileKeySelector selects a key of the env file.",
+ "properties": {
+ "key": {
+ "description": "The key within the env file. An invalid key will prevent the pod from starting. The keys defined within a source may consist of any printable ASCII characters except '='. During Alpha stage of the EnvFiles feature gate, the key size is limited to 128 characters.",
+ "type": "string"
+ },
+ "optional": {
+ "description": "Specify whether the file or its key must be defined. If the file or key does not exist, then the env var is not published. If optional is set to true and the specified key does not exist, the environment variable will not be set in the Pod's containers.\n\nIf optional is set to false and the specified key does not exist, an error will be returned during Pod creation.",
+ "type": "boolean"
+ },
+ "path": {
+ "description": "The path within the volume from which to select the file. Must be relative and may not contain the '..' path or start with '..'.",
+ "type": "string"
+ },
+ "volumeName": {
+ "description": "The name of the volume mount containing the env file.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "volumeName",
+ "path",
+ "key"
+ ],
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
"v1.FlexPersistentVolumeSource": {
"description": "FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.",
"properties": {
@@ -7340,6 +7765,7 @@
"type": "object"
},
"v1.GRPCAction": {
+ "description": "GRPCAction specifies an action involving a GRPC service.",
"properties": {
"port": {
"description": "Port number of the gRPC service. Number must be in the range 1 to 65535.",
@@ -7407,7 +7833,7 @@
"description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.",
"properties": {
"endpoints": {
- "description": "endpoints is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod",
+ "description": "endpoints is the endpoint name that details Glusterfs topology.",
"type": "string"
},
"path": {
@@ -7492,6 +7918,9 @@
"type": "string"
}
},
+ "required": [
+ "ip"
+ ],
"type": "object"
},
"v1.HostIP": {
@@ -7502,6 +7931,9 @@
"type": "string"
}
},
+ "required": [
+ "ip"
+ ],
"type": "object"
},
"v1.HostPathVolumeSource": {
@@ -7641,6 +8073,20 @@
],
"type": "object"
},
+ "v1.ImageVolumeSource": {
+ "description": "ImageVolumeSource represents a image volume resource.",
+ "properties": {
+ "pullPolicy": {
+ "description": "Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.",
+ "type": "string"
+ },
+ "reference": {
+ "description": "Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"v1.KeyToPath": {
"description": "Maps a string key to a path within a volume.",
"properties": {
@@ -7674,6 +8120,10 @@
"preStop": {
"$ref": "#/definitions/v1.LifecycleHandler",
"description": "PreStop is called immediately before a container is terminated due to an API request or management event such as liveness/startup probe failure, preemption, resource contention, etc. The handler is not called if the container crashes or exits. The Pod's termination grace period countdown begins before the PreStop hook is executed. Regardless of the outcome of the handler, the container will eventually terminate within the Pod's termination grace period (unless delayed by finalizers). Other management of the container blocks until the hook completes or until the termination grace period is reached. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks"
+ },
+ "stopSignal": {
+ "description": "StopSignal defines which signal will be sent to a container when it is being stopped. If not specified, the default is defined by the container runtime in use. StopSignal can only be set for Pods with a non-empty .spec.os.name",
+ "type": "string"
}
},
"type": "object"
@@ -7683,19 +8133,19 @@
"properties": {
"exec": {
"$ref": "#/definitions/v1.ExecAction",
- "description": "Exec specifies the action to take."
+ "description": "Exec specifies a command to execute in the container."
},
"httpGet": {
"$ref": "#/definitions/v1.HTTPGetAction",
- "description": "HTTPGet specifies the http request to perform."
+ "description": "HTTPGet specifies an HTTP GET request to perform."
},
"sleep": {
"$ref": "#/definitions/v1.SleepAction",
- "description": "Sleep represents the duration that the container should sleep before being terminated."
+ "description": "Sleep represents a duration that the container should sleep."
},
"tcpSocket": {
"$ref": "#/definitions/v1.TCPSocketAction",
- "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified."
+ "description": "Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified."
}
},
"type": "object"
@@ -7829,6 +8279,35 @@
],
"type": "object"
},
+ "v1.LinuxContainerUser": {
+ "description": "LinuxContainerUser represents user identity information in Linux containers",
+ "properties": {
+ "gid": {
+ "description": "GID is the primary gid initially attached to the first process in the container",
+ "format": "int64",
+ "type": "integer"
+ },
+ "supplementalGroups": {
+ "description": "SupplementalGroups are the supplemental groups initially attached to the first process in the container",
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "uid": {
+ "description": "UID is the primary uid initially attached to the first process in the container",
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "uid",
+ "gid"
+ ],
+ "type": "object"
+ },
"v1.LoadBalancerIngress": {
"description": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.",
"properties": {
@@ -7873,7 +8352,7 @@
"description": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
"properties": {
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
}
},
@@ -7881,7 +8360,7 @@
"x-kubernetes-map-type": "atomic"
},
"v1.LocalVolumeSource": {
- "description": "Local represents directly-attached storage with node affinity (Beta feature)",
+ "description": "Local represents directly-attached storage with node affinity",
"properties": {
"fsType": {
"description": "fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default value is to auto-select a filesystem if unspecified.",
@@ -7973,14 +8452,16 @@
"description": "NamespaceCondition contains details about state of namespace.",
"properties": {
"lastTransitionTime": {
- "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.",
+ "description": "Last time the condition transitioned from one status to another.",
"format": "date-time",
"type": "string"
},
"message": {
+ "description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
+ "description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
@@ -8217,6 +8698,16 @@
},
"type": "object"
},
+ "v1.NodeFeatures": {
+ "description": "NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.",
+ "properties": {
+ "supplementalGroupsPolicy": {
+ "description": "SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"v1.NodeList": {
"description": "NodeList is the whole list of all Nodes which have been registered with master.",
"properties": {
@@ -8267,11 +8758,15 @@
"type": "object"
},
"v1.NodeRuntimeHandlerFeatures": {
- "description": "NodeRuntimeHandlerFeatures is a set of runtime features.",
+ "description": "NodeRuntimeHandlerFeatures is a set of features implemented by the runtime handler.",
"properties": {
"recursiveReadOnlyMounts": {
"description": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.",
"type": "boolean"
+ },
+ "userNamespaces": {
+ "description": "UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.",
+ "type": "boolean"
}
},
"type": "object"
@@ -8390,7 +8885,7 @@
"description": "NodeStatus is information about the current status of a node.",
"properties": {
"addresses": {
- "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).",
+ "description": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).",
"items": {
"$ref": "#/definitions/v1.NodeAddress"
},
@@ -8413,11 +8908,11 @@
"additionalProperties": {
"$ref": "#/definitions/resource.Quantity"
},
- "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity",
+ "description": "Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity",
"type": "object"
},
"conditions": {
- "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition",
+ "description": "Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition",
"items": {
"$ref": "#/definitions/v1.NodeCondition"
},
@@ -8437,6 +8932,10 @@
"$ref": "#/definitions/v1.NodeDaemonEndpoints",
"description": "Endpoints of daemons running on the Node."
},
+ "features": {
+ "$ref": "#/definitions/v1.NodeFeatures",
+ "description": "Features describes the set of features implemented by the CRI implementation."
+ },
"images": {
"description": "List of container images on this node",
"items": {
@@ -8447,7 +8946,7 @@
},
"nodeInfo": {
"$ref": "#/definitions/v1.NodeSystemInfo",
- "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info"
+ "description": "Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info"
},
"phase": {
"description": "NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.",
@@ -8480,6 +8979,17 @@
},
"type": "object"
},
+ "v1.NodeSwapStatus": {
+ "description": "NodeSwapStatus represents swap memory information.",
+ "properties": {
+ "capacity": {
+ "description": "Total amount of swap memory in bytes.",
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"v1.NodeSystemInfo": {
"description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.",
"properties": {
@@ -8500,7 +9010,7 @@
"type": "string"
},
"kubeProxyVersion": {
- "description": "KubeProxy Version reported by the node.",
+ "description": "Deprecated: KubeProxy Version reported by the node.",
"type": "string"
},
"kubeletVersion": {
@@ -8519,6 +9029,10 @@
"description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).",
"type": "string"
},
+ "swap": {
+ "$ref": "#/definitions/v1.NodeSwapStatus",
+ "description": "Swap Info reported by the node."
+ },
"systemUUID": {
"description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid",
"type": "string"
@@ -8679,9 +9193,11 @@
"type": "string"
},
"status": {
+ "description": "Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required",
"type": "string"
},
"type": {
+ "description": "Type is the type of the condition. More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about",
"type": "string"
}
},
@@ -8758,7 +9274,7 @@
"type": "string"
},
"volumeAttributesClassName": {
- "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
+ "description": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string or nil value indicates that no VolumeAttributesClass will be applied to the claim. If the claim enters an Infeasible error state, this field can be reset to its previous value (including nil) to cancel the modification. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/",
"type": "string"
},
"volumeMode": {
@@ -8819,12 +9335,12 @@
"x-kubernetes-patch-strategy": "merge"
},
"currentVolumeAttributesClassName": {
- "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.",
+ "description": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim",
"type": "string"
},
"modifyVolumeStatus": {
"$ref": "#/definitions/v1.ModifyVolumeStatus",
- "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature."
+ "description": "ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted."
},
"phase": {
"description": "phase represents the current phase of PersistentVolumeClaim.",
@@ -8915,15 +9431,15 @@
},
"awsElasticBlockStore": {
"$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource",
- "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
+ "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
},
"azureDisk": {
"$ref": "#/definitions/v1.AzureDiskVolumeSource",
- "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."
+ "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver."
},
"azureFile": {
"$ref": "#/definitions/v1.AzureFilePersistentVolumeSource",
- "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod."
+ "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver."
},
"capacity": {
"additionalProperties": {
@@ -8934,11 +9450,11 @@
},
"cephfs": {
"$ref": "#/definitions/v1.CephFSPersistentVolumeSource",
- "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime"
+ "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported."
},
"cinder": {
"$ref": "#/definitions/v1.CinderPersistentVolumeSource",
- "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
+ "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
},
"claimRef": {
"$ref": "#/definitions/v1.ObjectReference",
@@ -8947,7 +9463,7 @@
},
"csi": {
"$ref": "#/definitions/v1.CSIPersistentVolumeSource",
- "description": "csi represents storage that is handled by an external CSI driver (Beta feature)."
+ "description": "csi represents storage that is handled by an external CSI driver."
},
"fc": {
"$ref": "#/definitions/v1.FCVolumeSource",
@@ -8955,19 +9471,19 @@
},
"flexVolume": {
"$ref": "#/definitions/v1.FlexPersistentVolumeSource",
- "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."
+ "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead."
},
"flocker": {
"$ref": "#/definitions/v1.FlockerVolumeSource",
- "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running"
+ "description": "flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported."
},
"gcePersistentDisk": {
"$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource",
- "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
+ "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
},
"glusterfs": {
"$ref": "#/definitions/v1.GlusterfsPersistentVolumeSource",
- "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
+ "description": "glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
},
"hostPath": {
"$ref": "#/definitions/v1.HostPathVolumeSource",
@@ -9003,23 +9519,23 @@
},
"photonPersistentDisk": {
"$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource",
- "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"
+ "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported."
},
"portworxVolume": {
"$ref": "#/definitions/v1.PortworxVolumeSource",
- "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine"
+ "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on."
},
"quobyte": {
"$ref": "#/definitions/v1.QuobyteVolumeSource",
- "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime"
+ "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported."
},
"rbd": {
"$ref": "#/definitions/v1.RBDPersistentVolumeSource",
- "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"
+ "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. More info: https://examples.k8s.io/volumes/rbd/README.md"
},
"scaleIO": {
"$ref": "#/definitions/v1.ScaleIOPersistentVolumeSource",
- "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
+ "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported."
},
"storageClassName": {
"description": "storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.",
@@ -9027,10 +9543,10 @@
},
"storageos": {
"$ref": "#/definitions/v1.StorageOSPersistentVolumeSource",
- "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md"
+ "description": "storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. More info: https://examples.k8s.io/volumes/storageos/README.md"
},
"volumeAttributesClassName": {
- "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.",
+ "description": "Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process.",
"type": "string"
},
"volumeMode": {
@@ -9039,7 +9555,7 @@
},
"vsphereVolume": {
"$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource",
- "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"
+ "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver."
}
},
"type": "object"
@@ -9048,7 +9564,7 @@
"description": "PersistentVolumeStatus is the current status of a persistent volume.",
"properties": {
"lastPhaseTransitionTime": {
- "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).",
+ "description": "lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.",
"format": "date-time",
"type": "string"
},
@@ -9147,7 +9663,7 @@
"description": "A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods."
},
"matchLabelKeys": {
- "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
+ "description": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set.",
"items": {
"type": "string"
},
@@ -9155,7 +9671,7 @@
"x-kubernetes-list-type": "atomic"
},
"mismatchLabelKeys": {
- "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
+ "description": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set.",
"items": {
"type": "string"
},
@@ -9188,7 +9704,7 @@
"description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules.",
"properties": {
"preferredDuringSchedulingIgnoredDuringExecution": {
- "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and adding \"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
+ "description": "The scheduler will prefer to schedule pods to nodes that satisfy the anti-affinity expressions specified by this field, but it may choose a node that violates one or more of the expressions. The node that is most preferred is the one with the greatest sum of weights, i.e. for each node that meets all of the scheduling requirements (resource request, requiredDuringScheduling anti-affinity expressions, etc.), compute a sum by iterating through the elements of this field and subtracting \"weight\" from the sum if the node has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred.",
"items": {
"$ref": "#/definitions/v1.WeightedPodAffinityTerm"
},
@@ -9206,6 +9722,41 @@
},
"type": "object"
},
+ "v1.PodCertificateProjection": {
+ "description": "PodCertificateProjection provides a private key and X.509 certificate in the pod filesystem.",
+ "properties": {
+ "certificateChainPath": {
+ "description": "Write the certificate chain at this path in the projected volume.\n\nMost applications should use credentialBundlePath. When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.",
+ "type": "string"
+ },
+ "credentialBundlePath": {
+ "description": "Write the credential bundle at this path in the projected volume.\n\nThe credential bundle is a single file that contains multiple PEM blocks. The first PEM block is a PRIVATE KEY block, containing a PKCS#8 private key.\n\nThe remaining blocks are CERTIFICATE blocks, containing the issued certificate chain from the signer (leaf and any intermediates).\n\nUsing credentialBundlePath lets your Pod's application code make a single atomic read that retrieves a consistent key and certificate chain. If you project them to separate files, your application code will need to additionally check that the leaf certificate was issued to the key.",
+ "type": "string"
+ },
+ "keyPath": {
+ "description": "Write the key at this path in the projected volume.\n\nMost applications should use credentialBundlePath. When using keyPath and certificateChainPath, your application needs to check that the key and leaf certificate are consistent, because it is possible to read the files mid-rotation.",
+ "type": "string"
+ },
+ "keyType": {
+ "description": "The type of keypair Kubelet will generate for the pod.\n\nValid values are \"RSA3072\", \"RSA4096\", \"ECDSAP256\", \"ECDSAP384\", \"ECDSAP521\", and \"ED25519\".",
+ "type": "string"
+ },
+ "maxExpirationSeconds": {
+ "description": "maxExpirationSeconds is the maximum lifetime permitted for the certificate.\n\nKubelet copies this value verbatim into the PodCertificateRequests it generates for this projection.\n\nIf omitted, kube-apiserver will set it to 86400(24 hours). kube-apiserver will reject values shorter than 3600 (1 hour). The maximum allowable value is 7862400 (91 days).\n\nThe signer implementation is then free to issue a certificate with any lifetime *shorter* than MaxExpirationSeconds, but no shorter than 3600 seconds (1 hour). This constraint is enforced by kube-apiserver. `kubernetes.io` signers will never issue certificates with a lifetime longer than 24 hours.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "signerName": {
+ "description": "Kubelet's generated CSRs will be addressed to this signer.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "signerName",
+ "keyType"
+ ],
+ "type": "object"
+ },
"v1.PodCondition": {
"description": "PodCondition contains details for the current condition of this pod.",
"properties": {
@@ -9223,6 +9774,11 @@
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
+ "observedGeneration": {
+ "description": "If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.",
+ "format": "int64",
+ "type": "integer"
+ },
"reason": {
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
@@ -9276,13 +9832,36 @@
"description": "PodDNSConfigOption defines DNS resolver options of a pod.",
"properties": {
"name": {
- "description": "Required.",
+ "description": "Name is this DNS resolver option's name. Required.",
"type": "string"
},
"value": {
+ "description": "Value is this DNS resolver option's value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.PodExtendedResourceClaimStatus": {
+ "description": "PodExtendedResourceClaimStatus is stored in the PodStatus for the extended resource requests backed by DRA. It stores the generated name for the corresponding special ResourceClaim created by the scheduler.",
+ "properties": {
+ "requestMappings": {
+ "description": "RequestMappings identifies the mapping of to device request in the generated ResourceClaim.",
+ "items": {
+ "$ref": "#/definitions/v1.ContainerExtendedResourceRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "resourceClaimName": {
+ "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.",
"type": "string"
}
},
+ "required": [
+ "requestMappings",
+ "resourceClaimName"
+ ],
"type": "object"
},
"v1.PodIP": {
@@ -9293,6 +9872,9 @@
"type": "string"
}
},
+ "required": [
+ "ip"
+ ],
"type": "object"
},
"v1.PodList": {
@@ -9357,15 +9939,19 @@
"type": "object"
},
"v1.PodResourceClaim": {
- "description": "PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.",
+ "description": "PodResourceClaim references exactly one ResourceClaim, either directly or by naming a ResourceClaimTemplate which is then turned into a ResourceClaim for the pod.\n\nIt adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.",
"properties": {
"name": {
"description": "Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.",
"type": "string"
},
- "source": {
- "$ref": "#/definitions/v1.ClaimSource",
- "description": "Source describes where to find the ResourceClaim."
+ "resourceClaimName": {
+ "description": "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ "type": "string"
+ },
+ "resourceClaimTemplateName": {
+ "description": "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.\n\nThe template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.\n\nThis field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.\n\nExactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ "type": "string"
}
},
"required": [
@@ -9381,7 +9967,7 @@
"type": "string"
},
"resourceClaimName": {
- "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.",
+ "description": "ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. If this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.",
"type": "string"
}
},
@@ -9433,6 +10019,10 @@
"format": "int64",
"type": "integer"
},
+ "seLinuxChangePolicy": {
+ "description": "seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. Valid values are \"MountOption\" and \"Recursive\".\n\n\"Recursive\" means relabeling of all files on all Pod volumes by the container runtime. This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node.\n\n\"MountOption\" mounts all eligible Pod volumes with `-o context` mount option. This requires all Pods that share the same volume to use the same SELinux label. It is not possible to share the same volume among privileged and unprivileged Pods. Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their CSIDriver instance. Other volumes are always re-labelled recursively. \"MountOption\" value is allowed only when SELinuxMount feature gate is enabled.\n\nIf not specified and SELinuxMount feature gate is enabled, \"MountOption\" is used. If not specified and SELinuxMount feature gate is disabled, \"MountOption\" is used for ReadWriteOncePod volumes and \"Recursive\" for all other volumes.\n\nThis field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers.\n\nAll Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. Note that this field cannot be set when spec.os.name is windows.",
+ "type": "string"
+ },
"seLinuxOptions": {
"$ref": "#/definitions/v1.SELinuxOptions",
"description": "The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows."
@@ -9442,7 +10032,7 @@
"description": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows."
},
"supplementalGroups": {
- "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.",
+ "description": "A list of groups applied to the first process run in each container, in addition to the container's primary GID and fsGroup (if specified). If the SupplementalGroupsPolicy feature is enabled, the supplementalGroupsPolicy field determines whether these are in addition to or instead of any group memberships defined in the container image. If unspecified, no additional groups are added, though group memberships defined in the container image may still be used, depending on the supplementalGroupsPolicy field. Note that this field cannot be set when spec.os.name is windows.",
"items": {
"format": "int64",
"type": "integer"
@@ -9450,6 +10040,10 @@
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "supplementalGroupsPolicy": {
+ "description": "Defines how supplemental groups of the first container processes are calculated. Valid values are \"Merge\" and \"Strict\". If not specified, \"Merge\" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.",
+ "type": "string"
+ },
"sysctls": {
"description": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.",
"items": {
@@ -9537,7 +10131,7 @@
"type": "boolean"
},
"hostNetwork": {
- "description": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.",
+ "description": "Host networking requested for this pod. Use the host's network namespace. When using HostNetwork you should specify ports so the scheduler is aware. When `hostNetwork` is true, specified `hostPort` fields in port definitions must match `containerPort`, and unspecified `hostPort` fields in port definitions are defaulted to match `containerPort`. Default to false.",
"type": "boolean"
},
"hostPID": {
@@ -9552,6 +10146,10 @@
"description": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.",
"type": "string"
},
+ "hostnameOverride": {
+ "description": "HostnameOverride specifies an explicit override for the pod's hostname as perceived by the pod. This field only specifies the pod's hostname and does not affect its DNS records. When this field is set to a non-empty string: - It takes precedence over the values set in `hostname` and `subdomain`. - The Pod's hostname will be set to this value. - `setHostnameAsFQDN` must be nil or set to false. - `hostNetwork` must be set to false.\n\nThis field must be a valid DNS subdomain as defined in RFC 1123 and contain at most 64 characters. Requires the HostnameOverride feature gate to be enabled.",
+ "type": "string"
+ },
"imagePullSecrets": {
"description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod",
"items": {
@@ -9566,7 +10164,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"initContainers": {
- "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
+ "description": "List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/",
"items": {
"$ref": "#/definitions/v1.Container"
},
@@ -9579,7 +10177,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"nodeName": {
- "description": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.",
+ "description": "NodeName indicates in which node this pod is scheduled. If empty, this pod is a candidate for scheduling by the scheduler defined in schedulerName. Once this field is set, the kubelet for this node becomes responsible for the lifecycle of this pod. This field should not be used to express a desire for the pod to be scheduled on a specific node. https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodename",
"type": "string"
},
"nodeSelector": {
@@ -9592,7 +10190,7 @@
},
"os": {
"$ref": "#/definitions/v1.PodOS",
- "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup"
+ "description": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.resources - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.securityContext.supplementalGroupsPolicy - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup"
},
"overhead": {
"additionalProperties": {
@@ -9635,6 +10233,10 @@
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge,retainKeys"
},
+ "resources": {
+ "$ref": "#/definitions/v1.ResourceRequirements",
+ "description": "Resources is the total amount of CPU and Memory resources required by all containers in the pod. It supports specifying Requests and Limits for \"cpu\", \"memory\" and \"hugepages-\" resource names only. ResourceClaims are not supported.\n\nThis field enables fine-grained control over resource allocation for the entire pod, allowing resource sharing among containers in a pod.\n\nThis is an alpha field and requires enabling the PodLevelResources feature gate."
+ },
"restartPolicy": {
"description": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted. Default to Always. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy",
"type": "string"
@@ -9673,7 +10275,7 @@
"type": "string"
},
"setHostnameAsFQDN": {
- "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.",
+ "description": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.",
"type": "boolean"
},
"shareProcessNamespace": {
@@ -9747,7 +10349,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"containerStatuses": {
- "description": "The list has one entry per container in the manifest. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
+ "description": "Statuses of containers in this pod. Each container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
"items": {
"$ref": "#/definitions/v1.ContainerStatus"
},
@@ -9755,13 +10357,17 @@
"x-kubernetes-list-type": "atomic"
},
"ephemeralContainerStatuses": {
- "description": "Status for any ephemeral containers that have run in this pod.",
+ "description": "Statuses for any ephemeral containers that have run in this pod. Each ephemeral container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
"items": {
"$ref": "#/definitions/v1.ContainerStatus"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "extendedResourceClaimStatus": {
+ "$ref": "#/definitions/v1.PodExtendedResourceClaimStatus",
+ "description": "Status of extended resource claim backed by DRA."
+ },
"hostIP": {
"description": "hostIP holds the IP address of the host to which the pod is assigned. Empty if the pod has not started yet. A pod can be assigned to a node that has a problem in kubelet which in turns mean that HostIP will not be updated even if there is a node is assigned to pod",
"type": "string"
@@ -9777,7 +10383,7 @@
"x-kubernetes-patch-strategy": "merge"
},
"initContainerStatuses": {
- "description": "The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status",
+ "description": "Statuses of init containers in this pod. The most recent successful non-restartable init container will have ready = true, the most recently started container will have startTime set. Each init container in the pod should have at most one status in this list, and all statuses should be for containers in the pod. However this is not enforced. If a status for a non-existent container is present in the list, or the list has duplicate names, the behavior of various Kubernetes components is not defined and those statuses might be ignored. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-and-container-status",
"items": {
"$ref": "#/definitions/v1.ContainerStatus"
},
@@ -9792,6 +10398,11 @@
"description": "nominatedNodeName is set only when this pod preempts other pods on the node, but it cannot be scheduled right away as preemption victims receive their graceful termination periods. This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to give the resources on this node to a higher priority pod that is created after preemption. As a result, this field may be different than PodSpec.nodeName when the pod is scheduled.",
"type": "string"
},
+ "observedGeneration": {
+ "description": "If set, this represents the .metadata.generation that the pod status was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.",
+ "format": "int64",
+ "type": "integer"
+ },
"phase": {
"description": "The phase of a Pod is a simple, high-level summary of where the Pod is in its lifecycle. The conditions array, the reason and message fields, and the individual container status arrays contain more detail about the pod's status. There are five possible phase values:\n\nPending: The pod has been accepted by the Kubernetes system, but one or more of the container images has not been created. This includes time before being scheduled as well as time spent downloading images over the network, which could take a while. Running: The pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting. Succeeded: All containers in the pod have terminated in success, and will not be restarted. Failed: All containers in the pod have terminated, and at least one container has terminated in failure. The container either exited with non-zero status or was terminated by the system. Unknown: For some reason the state of the pod could not be obtained, typically due to an error in communicating with the host of the pod.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase",
"type": "string"
@@ -9822,7 +10433,7 @@
"type": "string"
},
"resize": {
- "description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\"",
+ "description": "Status of resources resize desired for pod's containers. It is empty if no resources resize is pending. Any changes to container resources will automatically set this to \"Proposed\" Deprecated: Resize status is moved to two pod conditions PodResizePending and PodResizeInProgress. PodResizePending will track states where the spec has been resized, but the Kubelet has not yet allocated the resources. PodResizeInProgress will track in-progress resizes, and should be present whenever allocated resources != acknowledged resources.",
"type": "string"
},
"resourceClaimStatuses": {
@@ -9925,6 +10536,7 @@
"type": "object"
},
"v1.PortStatus": {
+ "description": "PortStatus represents the error condition of a service port",
"properties": {
"error": {
"description": "Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use\n CamelCase names\n- cloud provider specific error values must have names that comply with the\n format foo.example.com/CamelCase.",
@@ -9991,7 +10603,7 @@
"properties": {
"exec": {
"$ref": "#/definitions/v1.ExecAction",
- "description": "Exec specifies the action to take."
+ "description": "Exec specifies a command to execute in the container."
},
"failureThreshold": {
"description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.",
@@ -10000,11 +10612,11 @@
},
"grpc": {
"$ref": "#/definitions/v1.GRPCAction",
- "description": "GRPC specifies an action involving a GRPC port."
+ "description": "GRPC specifies a GRPC HealthCheckRequest."
},
"httpGet": {
"$ref": "#/definitions/v1.HTTPGetAction",
- "description": "HTTPGet specifies the http request to perform."
+ "description": "HTTPGet specifies an HTTP GET request to perform."
},
"initialDelaySeconds": {
"description": "Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes",
@@ -10023,7 +10635,7 @@
},
"tcpSocket": {
"$ref": "#/definitions/v1.TCPSocketAction",
- "description": "TCPSocket specifies an action involving a TCP port."
+ "description": "TCPSocket specifies a connection to a TCP port."
},
"terminationGracePeriodSeconds": {
"description": "Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset.",
@@ -10047,7 +10659,7 @@
"type": "integer"
},
"sources": {
- "description": "sources is the list of volume projections",
+ "description": "sources is the list of volume projections. Each entry in this list handles one source.",
"items": {
"$ref": "#/definitions/v1.VolumeProjection"
},
@@ -10357,12 +10969,16 @@
],
"type": "object"
},
- "v1.ResourceClaim": {
+ "core.v1.ResourceClaim": {
"description": "ResourceClaim references one entry in PodSpec.ResourceClaims.",
"properties": {
"name": {
"description": "Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.",
"type": "string"
+ },
+ "request": {
+ "description": "Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.",
+ "type": "string"
}
},
"required": [
@@ -10392,6 +11008,23 @@
"type": "object",
"x-kubernetes-map-type": "atomic"
},
+ "v1.ResourceHealth": {
+ "description": "ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680.",
+ "properties": {
+ "health": {
+ "description": "Health of the resource. can be one of:\n - Healthy: operates as normal\n - Unhealthy: reported unhealthy. We consider this a temporary health issue\n since we do not have a mechanism today to distinguish\n temporary and permanent issues.\n - Unknown: The status cannot be determined.\n For example, Device Plugin got unregistered and hasn't been re-registered since.\n\nIn future we may want to introduce the PermanentlyUnhealthy Status.",
+ "type": "string"
+ },
+ "resourceID": {
+ "description": "ResourceID is the unique identifier of the resource. See the ResourceID type for more information.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "resourceID"
+ ],
+ "type": "object"
+ },
"v1.ResourceQuota": {
"description": "ResourceQuota sets aggregate quota restrictions enforced per namespace",
"properties": {
@@ -10509,9 +11142,9 @@
"description": "ResourceRequirements describes the compute resource requirements.",
"properties": {
"claims": {
- "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
+ "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis field depends on the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
"items": {
- "$ref": "#/definitions/v1.ResourceClaim"
+ "$ref": "#/definitions/core.v1.ResourceClaim"
},
"type": "array",
"x-kubernetes-list-map-keys": [
@@ -10536,6 +11169,30 @@
},
"type": "object"
},
+ "v1.ResourceStatus": {
+ "description": "ResourceStatus represents the status of a single resource allocated to a Pod.",
+ "properties": {
+ "name": {
+ "description": "Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec. For DRA resources, the value must be \"claim:/\". When this status is reported about a container, the \"claim_name\" and \"request\" must match one of the claims of this container.",
+ "type": "string"
+ },
+ "resources": {
+ "description": "List of unique resources health. Each element in the list contains an unique resource ID and its health. At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node. If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share. See ResourceID type definition for a specific format it has in various use cases.",
+ "items": {
+ "$ref": "#/definitions/v1.ResourceHealth"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "resourceID"
+ ],
+ "x-kubernetes-list-type": "map"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
"v1.SELinuxOptions": {
"description": "SELinuxOptions are the labels to be applied to the container",
"properties": {
@@ -10778,7 +11435,7 @@
"description": "SecretEnvSource selects a Secret to populate the environment variables with.\n\nThe contents of the target Secret's Data field will represent the key-value pairs as environment variables.",
"properties": {
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
@@ -10796,7 +11453,7 @@
"type": "string"
},
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
@@ -10857,7 +11514,7 @@
"x-kubernetes-list-type": "atomic"
},
"name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "description": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
"type": "string"
},
"optional": {
@@ -10929,7 +11586,7 @@
"type": "boolean"
},
"procMount": {
- "description": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.",
+ "description": "procMount denotes the type of proc mount to use for the containers. The default value is Default which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.",
"type": "string"
},
"readOnlyRootFilesystem": {
@@ -11026,7 +11683,7 @@
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"secrets": {
- "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret",
+ "description": "Secrets is a list of the secrets in the same namespace that pods running using this ServiceAccount are allowed to use. Pods are only limited to this list if this service account has a \"kubernetes.io/enforce-mountable-secrets\" annotation set to \"true\". The \"kubernetes.io/enforce-mountable-secrets\" annotation is deprecated since v1.32. Prefer separate namespaces to isolate access to mounted secrets. This field should not be used to find auto-generated service account token secrets for use outside of pods. Instead, tokens can be requested directly using the TokenRequest API, or service account token secrets can be manually created. More info: https://kubernetes.io/docs/concepts/configuration/secret",
"items": {
"$ref": "#/definitions/v1.ObjectReference"
},
@@ -11282,7 +11939,7 @@
"description": "sessionAffinityConfig contains the configurations of session affinity."
},
"trafficDistribution": {
- "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone).",
+ "description": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are in the same zone.",
"type": "string"
},
"type": {
@@ -11438,7 +12095,7 @@
"type": "string"
},
"timeAdded": {
- "description": "TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.",
+ "description": "TimeAdded represents the time at which the taint was added.",
"format": "date-time",
"type": "string"
},
@@ -11543,11 +12200,11 @@
"type": "integer"
},
"nodeAffinityPolicy": {
- "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.",
+ "description": "NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector when calculating pod topology spread skew. Options are: - Honor: only nodes matching nodeAffinity/nodeSelector are included in the calculations. - Ignore: nodeAffinity/nodeSelector are ignored. All nodes are included in the calculations.\n\nIf this value is nil, the behavior is equivalent to the Honor policy.",
"type": "string"
},
"nodeTaintsPolicy": {
- "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy. This is a beta-level feature default enabled by the NodeInclusionPolicyInPodTopologySpread feature flag.",
+ "description": "NodeTaintsPolicy indicates how we will treat node taints when calculating pod topology spread skew. Options are: - Honor: nodes without taints, along with tainted nodes for which the incoming pod has a toleration, are included. - Ignore: node taints are ignored. All nodes are included.\n\nIf this value is nil, the behavior is equivalent to the Ignore policy.",
"type": "string"
},
"topologyKey": {
@@ -11590,6 +12247,7 @@
"x-kubernetes-map-type": "atomic"
},
"v1.TypedObjectReference": {
+ "description": "TypedObjectReference contains enough information to let you locate the typed referenced object",
"properties": {
"apiGroup": {
"description": "APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
@@ -11619,23 +12277,23 @@
"properties": {
"awsElasticBlockStore": {
"$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource",
- "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
+ "description": "awsElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore"
},
"azureDisk": {
"$ref": "#/definitions/v1.AzureDiskVolumeSource",
- "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod."
+ "description": "azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type are redirected to the disk.csi.azure.com CSI driver."
},
"azureFile": {
"$ref": "#/definitions/v1.AzureFileVolumeSource",
- "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod."
+ "description": "azureFile represents an Azure File Service mount on the host and bind mount to the pod. Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type are redirected to the file.csi.azure.com CSI driver."
},
"cephfs": {
"$ref": "#/definitions/v1.CephFSVolumeSource",
- "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime"
+ "description": "cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported."
},
"cinder": {
"$ref": "#/definitions/v1.CinderVolumeSource",
- "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
+ "description": "cinder represents a cinder volume attached and mounted on kubelets host machine. Deprecated: Cinder is deprecated. All operations for the in-tree cinder type are redirected to the cinder.csi.openstack.org CSI driver. More info: https://examples.k8s.io/mysql-cinder-pd/README.md"
},
"configMap": {
"$ref": "#/definitions/v1.ConfigMapVolumeSource",
@@ -11643,7 +12301,7 @@
},
"csi": {
"$ref": "#/definitions/v1.CSIVolumeSource",
- "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature)."
+ "description": "csi (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers."
},
"downwardAPI": {
"$ref": "#/definitions/v1.DownwardAPIVolumeSource",
@@ -11663,31 +12321,35 @@
},
"flexVolume": {
"$ref": "#/definitions/v1.FlexVolumeSource",
- "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin."
+ "description": "flexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead."
},
"flocker": {
"$ref": "#/definitions/v1.FlockerVolumeSource",
- "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running"
+ "description": "flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported."
},
"gcePersistentDisk": {
"$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource",
- "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
+ "description": "gcePersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk"
},
"gitRepo": {
"$ref": "#/definitions/v1.GitRepoVolumeSource",
- "description": "gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."
+ "description": "gitRepo represents a git repository at a particular revision. Deprecated: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container."
},
"glusterfs": {
"$ref": "#/definitions/v1.GlusterfsVolumeSource",
- "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md"
+ "description": "glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported."
},
"hostPath": {
"$ref": "#/definitions/v1.HostPathVolumeSource",
"description": "hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath"
},
+ "image": {
+ "$ref": "#/definitions/v1.ImageVolumeSource",
+ "description": "image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:\n\n- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.\n\nThe volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type."
+ },
"iscsi": {
"$ref": "#/definitions/v1.ISCSIVolumeSource",
- "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md"
+ "description": "iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes/#iscsi"
},
"name": {
"description": "name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
@@ -11703,11 +12365,11 @@
},
"photonPersistentDisk": {
"$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource",
- "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine"
+ "description": "photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported."
},
"portworxVolume": {
"$ref": "#/definitions/v1.PortworxVolumeSource",
- "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine"
+ "description": "portworxVolume represents a portworx volume attached and mounted on kubelets host machine. Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate is on."
},
"projected": {
"$ref": "#/definitions/v1.ProjectedVolumeSource",
@@ -11715,15 +12377,15 @@
},
"quobyte": {
"$ref": "#/definitions/v1.QuobyteVolumeSource",
- "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime"
+ "description": "quobyte represents a Quobyte mount on the host that shares a pod's lifetime. Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported."
},
"rbd": {
"$ref": "#/definitions/v1.RBDVolumeSource",
- "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md"
+ "description": "rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported."
},
"scaleIO": {
"$ref": "#/definitions/v1.ScaleIOVolumeSource",
- "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes."
+ "description": "scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported."
},
"secret": {
"$ref": "#/definitions/v1.SecretVolumeSource",
@@ -11731,11 +12393,11 @@
},
"storageos": {
"$ref": "#/definitions/v1.StorageOSVolumeSource",
- "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes."
+ "description": "storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported."
},
"vsphereVolume": {
"$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource",
- "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine"
+ "description": "vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type are redirected to the csi.vsphere.vmware.com CSI driver."
}
},
"required": [
@@ -11836,7 +12498,7 @@
"type": "object"
},
"v1.VolumeProjection": {
- "description": "Projection that may be projected along with other supported volume types",
+ "description": "Projection that may be projected along with other supported volume types. Exactly one of these fields must be set.",
"properties": {
"clusterTrustBundle": {
"$ref": "#/definitions/v1.ClusterTrustBundleProjection",
@@ -11850,6 +12512,10 @@
"$ref": "#/definitions/v1.DownwardAPIProjection",
"description": "downwardAPI information about the downwardAPI data to project"
},
+ "podCertificate": {
+ "$ref": "#/definitions/v1.PodCertificateProjection",
+ "description": "Projects an auto-rotating credential bundle (private key and certificate chain) that the pod can use either as a TLS client or server.\n\nKubelet generates a private key and uses it to send a PodCertificateRequest to the named signer. Once the signer approves the request and issues a certificate chain, Kubelet writes the key and certificate chain to the pod filesystem. The pod does not start until certificates have been issued for each podCertificate projected volume source in its spec.\n\nKubelet will begin trying to rotate the certificate at the time indicated by the signer using the PodCertificateRequest.Status.BeginRefreshAt timestamp.\n\nKubelet can write a single file, indicated by the credentialBundlePath field, or separate files, indicated by the keyPath and certificateChainPath fields.\n\nThe credential bundle is a single file in PEM format. The first PEM entry is the private key (in PKCS#8 format), and the remaining PEM entries are the certificate chain issued by the signer (typically, signers will return their certificate chain in leaf-to-root order).\n\nPrefer using the credential bundle format, since your application code can read it atomically. If you use keyPath and certificateChainPath, your application must make two separate file reads. If these coincide with a certificate rotation, it is possible that the private key and leaf certificate you read may not correspond to each other. Your application will need to check for this condition, and re-read until they are consistent.\n\nThe named signer controls chooses the format of the certificate it issues; consult the signer implementation's documentation to learn how to use the certificates it issues."
+ },
"secret": {
"$ref": "#/definitions/v1.SecretProjection",
"description": "secret information about the secret data to project"
@@ -11951,7 +12617,7 @@
"description": "Endpoint represents a single logical \"backend\" implementing a service.",
"properties": {
"addresses": {
- "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. These are all assumed to be fungible and clients may choose to only use the first element. Refer to: https://issue.k8s.io/106267",
+ "description": "addresses of this endpoint. For EndpointSlices of addressType \"IPv4\" or \"IPv6\", the values are IP addresses in canonical form. The syntax and semantics of other addressType values are not defined. This must contain at least one address but no more than 100. EndpointSlices generated by the EndpointSlice controller will always have exactly 1 address. No semantics are defined for additional addresses beyond the first, and kube-proxy does not look at them.",
"items": {
"type": "string"
},
@@ -11999,15 +12665,15 @@
"description": "EndpointConditions represents the current condition of an endpoint.",
"properties": {
"ready": {
- "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. For compatibility reasons, ready should never be \"true\" for terminating endpoints, except when the normal readiness behavior is being explicitly overridden, for example when the associated Service has set the publishNotReadyAddresses flag.",
+ "description": "ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as \"true\". In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag.",
"type": "boolean"
},
"serving": {
- "description": "serving is identical to ready except that it is set regardless of the terminating state of endpoints. This condition should be set to true for a ready endpoint that is terminating. If nil, consumers should defer to the ready condition.",
+ "description": "serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod's Ready condition is True. A nil value should be interpreted as \"true\".",
"type": "boolean"
},
"terminating": {
- "description": "terminating indicates that this endpoint is terminating. A nil value indicates an unknown state. Consumers should interpret this unknown state to mean that the endpoint is not terminating.",
+ "description": "terminating indicates that this endpoint is terminating. A nil value should be interpreted as \"false\".",
"type": "boolean"
}
},
@@ -12016,8 +12682,16 @@
"v1.EndpointHints": {
"description": "EndpointHints provides hints describing how an endpoint should be consumed.",
"properties": {
+ "forNodes": {
+ "description": "forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries. This is an Alpha feature and is only used when the PreferSameTrafficDistribution feature gate is enabled.",
+ "items": {
+ "$ref": "#/definitions/v1.ForNode"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
"forZones": {
- "description": "forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.",
+ "description": "forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.",
"items": {
"$ref": "#/definitions/v1.ForZone"
},
@@ -12039,7 +12713,7 @@
"type": "string"
},
"port": {
- "description": "port represents the port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.",
+ "description": "port represents the port number of the endpoint. If the EndpointSlice is derived from a Kubernetes service, this must be set to the service's target port. EndpointSlices used for other purposes may have a nil port.",
"format": "int32",
"type": "integer"
},
@@ -12052,10 +12726,10 @@
"x-kubernetes-map-type": "atomic"
},
"v1.EndpointSlice": {
- "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.",
+ "description": "EndpointSlice represents a set of service endpoints. Most EndpointSlices are created by the EndpointSlice controller to represent the Pods selected by Service objects. For a given service there may be multiple EndpointSlice objects which must be joined to produce the full set of endpoints; you can find all of the slices for a given service by listing EndpointSlices in the service's namespace whose `kubernetes.io/service-name` label contains the service's name.",
"properties": {
"addressType": {
- "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.",
+ "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. (Deprecated) The EndpointSlice controller only generates, and kube-proxy only processes, slices of addressType \"IPv4\" and \"IPv6\". No semantics are defined for the \"FQDN\" type.",
"type": "string"
},
"apiVersion": {
@@ -12079,7 +12753,7 @@
"description": "Standard object's metadata."
},
"ports": {
- "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.",
+ "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. Each slice may include a maximum of 100 ports. Services always have at least 1 port, so EndpointSlices generated by the EndpointSlice controller will likewise always have at least 1 port. EndpointSlices used for other purposes may have an empty ports list.",
"items": {
"$ref": "#/definitions/discovery.v1.EndpointPort"
},
@@ -12135,6 +12809,19 @@
}
]
},
+ "v1.ForNode": {
+ "description": "ForNode provides information about which nodes should consume this endpoint.",
+ "properties": {
+ "name": {
+ "description": "name represents the name of the node.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
"v1.ForZone": {
"description": "ForZone provides information about which zones should consume this endpoint.",
"properties": {
@@ -12877,37 +13564,47 @@
],
"type": "object"
},
- "v1beta3.ExemptPriorityLevelConfiguration": {
- "description": "ExemptPriorityLevelConfiguration describes the configurable aspects of the handling of exempt requests. In the mandatory exempt configuration object the values in the fields here can be modified by authorized users, unlike the rest of the `spec`.",
+ "v1.HTTPIngressPath": {
+ "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.",
"properties": {
- "lendablePercent": {
- "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. This value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )",
- "format": "int32",
- "type": "integer"
+ "backend": {
+ "$ref": "#/definitions/v1.IngressBackend",
+ "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to."
},
- "nominalConcurrencyShares": {
- "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats nominally reserved for this priority level. This DOES NOT limit the dispatching from this priority level but affects the other priority levels through the borrowing mechanism. The server's concurrency limit (ServerCL) is divided among all the priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of zero.",
- "format": "int32",
- "type": "integer"
+ "path": {
+ "description": "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".",
+ "type": "string"
+ },
+ "pathType": {
+ "description": "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.",
+ "type": "string"
}
},
+ "required": [
+ "pathType",
+ "backend"
+ ],
"type": "object"
},
- "v1beta3.FlowDistinguisherMethod": {
- "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.",
+ "v1.HTTPIngressRuleValue": {
+ "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.",
"properties": {
- "type": {
- "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.",
- "type": "string"
+ "paths": {
+ "description": "paths is a collection of paths that map requests to backends.",
+ "items": {
+ "$ref": "#/definitions/v1.HTTPIngressPath"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "type"
+ "paths"
],
"type": "object"
},
- "v1beta3.FlowSchema": {
- "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".",
+ "v1.IPAddress": {
+ "description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -12919,64 +13616,33 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
- "$ref": "#/definitions/v1beta3.FlowSchemaSpec",
- "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
- },
- "status": {
- "$ref": "#/definitions/v1beta3.FlowSchemaStatus",
- "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ "$ref": "#/definitions/v1.IPAddressSpec",
+ "description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1"
}
]
},
- "v1beta3.FlowSchemaCondition": {
- "description": "FlowSchemaCondition describes conditions for a FlowSchema.",
- "properties": {
- "lastTransitionTime": {
- "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.",
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "description": "`message` is a human-readable message indicating details about last transition.",
- "type": "string"
- },
- "reason": {
- "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.",
- "type": "string"
- },
- "status": {
- "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.",
- "type": "string"
- },
- "type": {
- "description": "`type` is the type of the condition. Required.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "v1beta3.FlowSchemaList": {
- "description": "FlowSchemaList is a list of FlowSchema objects.",
+ "v1.IPAddressList": {
+ "description": "IPAddressList contains a list of IPAddress.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "`items` is a list of FlowSchemas.",
+ "description": "items is the list of IPAddresses.",
"items": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.IPAddress"
},
"type": "array"
},
@@ -12986,7 +13652,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
@@ -12995,185 +13661,48 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchemaList",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "IPAddressList",
+ "version": "v1"
}
]
},
- "v1beta3.FlowSchemaSpec": {
- "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.",
- "properties": {
- "distinguisherMethod": {
- "$ref": "#/definitions/v1beta3.FlowDistinguisherMethod",
- "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string."
- },
- "matchingPrecedence": {
- "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be ranged in [1,10000]. Note that if the precedence is not specified, it will be set to 1000 as default.",
- "format": "int32",
- "type": "integer"
- },
- "priorityLevelConfiguration": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationReference",
- "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required."
- },
- "rules": {
- "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.",
- "items": {
- "$ref": "#/definitions/v1beta3.PolicyRulesWithSubjects"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- }
- },
- "required": [
- "priorityLevelConfiguration"
- ],
- "type": "object"
- },
- "v1beta3.FlowSchemaStatus": {
- "description": "FlowSchemaStatus represents the current state of a FlowSchema.",
- "properties": {
- "conditions": {
- "description": "`conditions` is a list of the current states of FlowSchema.",
- "items": {
- "$ref": "#/definitions/v1beta3.FlowSchemaCondition"
- },
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
- }
- },
- "type": "object"
- },
- "v1beta3.GroupSubject": {
- "description": "GroupSubject holds detailed information for group-kind subject.",
+ "v1.IPAddressSpec": {
+ "description": "IPAddressSpec describe the attributes in an IP Address.",
"properties": {
- "name": {
- "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.",
- "type": "string"
+ "parentRef": {
+ "$ref": "#/definitions/v1.ParentReference",
+ "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
}
},
"required": [
- "name"
+ "parentRef"
],
"type": "object"
},
- "v1beta3.LimitResponse": {
- "description": "LimitResponse defines how to handle requests that can not be executed right now.",
+ "v1.IPBlock": {
+ "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.",
"properties": {
- "queuing": {
- "$ref": "#/definitions/v1beta3.QueuingConfiguration",
- "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`."
- },
- "type": {
- "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.",
+ "cidr": {
+ "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
"type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object",
- "x-kubernetes-unions": [
- {
- "discriminator": "type",
- "fields-to-discriminateBy": {
- "queuing": "Queuing"
- }
- }
- ]
- },
- "v1beta3.LimitedPriorityLevelConfiguration": {
- "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n - How are requests for this priority level limited?\n - What should be done with requests that exceed the limit?",
- "properties": {
- "borrowingLimitPercent": {
- "description": "`borrowingLimitPercent`, if present, configures a limit on how many seats this priority level can borrow from other priority levels. The limit is known as this level's BorrowingConcurrencyLimit (BorrowingCL) and is a limit on the total number of seats that this level may borrow at any one time. This field holds the ratio of that limit to the level's nominal concurrency limit. When this field is non-nil, it must hold a non-negative integer and the limit is calculated as follows.\n\nBorrowingCL(i) = round( NominalCL(i) * borrowingLimitPercent(i)/100.0 )\n\nThe value of this field can be more than 100, implying that this priority level can borrow a number of seats that is greater than its own nominal concurrency limit (NominalCL). When this field is left `nil`, the limit is effectively infinite.",
- "format": "int32",
- "type": "integer"
- },
- "lendablePercent": {
- "description": "`lendablePercent` prescribes the fraction of the level's NominalCL that can be borrowed by other priority levels. The value of this field must be between 0 and 100, inclusive, and it defaults to 0. The number of seats that other levels can borrow from this level, known as this level's LendableConcurrencyLimit (LendableCL), is defined as follows.\n\nLendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 )",
- "format": "int32",
- "type": "integer"
- },
- "limitResponse": {
- "$ref": "#/definitions/v1beta3.LimitResponse",
- "description": "`limitResponse` indicates what to do with requests that can not be executed right now"
- },
- "nominalConcurrencyShares": {
- "description": "`nominalConcurrencyShares` (NCS) contributes to the computation of the NominalConcurrencyLimit (NominalCL) of this level. This is the number of execution seats available at this priority level. This is used both for requests dispatched from this priority level as well as requests dispatched from other priority levels borrowing seats from this level. The server's concurrency limit (ServerCL) is divided among the Limited priority levels in proportion to their NCS values:\n\nNominalCL(i) = ceil( ServerCL * NCS(i) / sum_ncs ) sum_ncs = sum[priority level k] NCS(k)\n\nBigger numbers mean a larger nominal concurrency limit, at the expense of every other priority level. This field has a default value of 30.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "v1beta3.NonResourcePolicyRule": {
- "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.",
- "properties": {
- "nonResourceURLs": {
- "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
},
- "verbs": {
- "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.",
+ "except": {
+ "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range",
"items": {
"type": "string"
},
"type": "array",
- "x-kubernetes-list-type": "set"
- }
- },
- "required": [
- "verbs",
- "nonResourceURLs"
- ],
- "type": "object"
- },
- "v1beta3.PolicyRulesWithSubjects": {
- "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.",
- "properties": {
- "nonResourceRules": {
- "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.",
- "items": {
- "$ref": "#/definitions/v1beta3.NonResourcePolicyRule"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "resourceRules": {
- "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.",
- "items": {
- "$ref": "#/definitions/v1beta3.ResourcePolicyRule"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "subjects": {
- "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.",
- "items": {
- "$ref": "#/definitions/v1beta3.Subject"
- },
- "type": "array",
"x-kubernetes-list-type": "atomic"
}
},
"required": [
- "subjects"
+ "cidr"
],
"type": "object"
},
- "v1beta3.PriorityLevelConfiguration": {
- "description": "PriorityLevelConfiguration represents the configuration of a priority level.",
+ "v1.Ingress": {
+ "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -13185,64 +13714,80 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationSpec",
- "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ "$ref": "#/definitions/v1.IngressSpec",
+ "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
},
"status": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationStatus",
- "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ "$ref": "#/definitions/v1.IngressStatus",
+ "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
+ "version": "v1"
}
]
},
- "v1beta3.PriorityLevelConfigurationCondition": {
- "description": "PriorityLevelConfigurationCondition defines the condition of priority level.",
+ "v1.IngressBackend": {
+ "description": "IngressBackend describes all endpoints for a given service and port.",
"properties": {
- "lastTransitionTime": {
- "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.",
- "format": "date-time",
- "type": "string"
+ "resource": {
+ "$ref": "#/definitions/v1.TypedLocalObjectReference",
+ "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"."
},
- "message": {
- "description": "`message` is a human-readable message indicating details about last transition.",
+ "service": {
+ "$ref": "#/definitions/v1.IngressServiceBackend",
+ "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"."
+ }
+ },
+ "type": "object"
+ },
+ "v1.IngressClass": {
+ "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "reason": {
- "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "status": {
- "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "type": {
- "description": "`type` is the type of the condition. Required.",
- "type": "string"
+ "spec": {
+ "$ref": "#/definitions/v1.IngressClassSpec",
+ "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
}
},
- "type": "object"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ }
+ ]
},
- "v1beta3.PriorityLevelConfigurationList": {
- "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.",
+ "v1.IngressClassList": {
+ "description": "IngressClassList is a collection of IngressClasses.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "`items` is a list of request-priorities.",
+ "description": "items is the list of IngressClasses.",
"items": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.IngressClass"
},
"type": "array"
},
@@ -13252,7 +13797,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata."
}
},
"required": [
@@ -13261,400 +13806,33 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfigurationList",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "IngressClassList",
+ "version": "v1"
}
]
},
- "v1beta3.PriorityLevelConfigurationReference": {
- "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.",
+ "v1.IngressClassParametersReference": {
+ "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.",
"properties": {
+ "apiGroup": {
+ "description": "apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "kind is the type of resource being referenced.",
+ "type": "string"
+ },
"name": {
- "description": "`name` is the name of the priority level configuration being referenced Required.",
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "v1beta3.PriorityLevelConfigurationSpec": {
- "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.",
- "properties": {
- "exempt": {
- "$ref": "#/definitions/v1beta3.ExemptPriorityLevelConfiguration",
- "description": "`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply."
- },
- "limited": {
- "$ref": "#/definitions/v1beta3.LimitedPriorityLevelConfiguration",
- "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`."
- },
- "type": {
- "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.",
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object",
- "x-kubernetes-unions": [
- {
- "discriminator": "type",
- "fields-to-discriminateBy": {
- "exempt": "Exempt",
- "limited": "Limited"
- }
- }
- ]
- },
- "v1beta3.PriorityLevelConfigurationStatus": {
- "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".",
- "properties": {
- "conditions": {
- "description": "`conditions` is the current state of \"request-priority\".",
- "items": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationCondition"
- },
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
- }
- },
- "type": "object"
- },
- "v1beta3.QueuingConfiguration": {
- "description": "QueuingConfiguration holds the configuration parameters for queuing",
- "properties": {
- "handSize": {
- "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.",
- "format": "int32",
- "type": "integer"
- },
- "queueLengthLimit": {
- "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.",
- "format": "int32",
- "type": "integer"
- },
- "queues": {
- "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.",
- "format": "int32",
- "type": "integer"
- }
- },
- "type": "object"
- },
- "v1beta3.ResourcePolicyRule": {
- "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) either (d1) the request does not specify a namespace (i.e., `Namespace==\"\"`) and clusterScope is true or (d2) the request specifies a namespace and least one member of namespaces matches the request's namespace.",
- "properties": {
- "apiGroups": {
- "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
- },
- "clusterScope": {
- "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.",
- "type": "boolean"
- },
- "namespaces": {
- "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
- },
- "resources": {
- "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
- },
- "verbs": {
- "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set"
- }
- },
- "required": [
- "verbs",
- "apiGroups",
- "resources"
- ],
- "type": "object"
- },
- "v1beta3.ServiceAccountSubject": {
- "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.",
- "properties": {
- "name": {
- "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.",
- "type": "string"
- },
- "namespace": {
- "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.",
- "type": "string"
- }
- },
- "required": [
- "namespace",
- "name"
- ],
- "type": "object"
- },
- "v1beta3.Subject": {
- "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.",
- "properties": {
- "group": {
- "$ref": "#/definitions/v1beta3.GroupSubject",
- "description": "`group` matches based on user group name."
- },
- "kind": {
- "description": "`kind` indicates which one of the other fields is non-empty. Required",
- "type": "string"
- },
- "serviceAccount": {
- "$ref": "#/definitions/v1beta3.ServiceAccountSubject",
- "description": "`serviceAccount` matches ServiceAccounts."
- },
- "user": {
- "$ref": "#/definitions/v1beta3.UserSubject",
- "description": "`user` matches based on username."
- }
- },
- "required": [
- "kind"
- ],
- "type": "object",
- "x-kubernetes-unions": [
- {
- "discriminator": "kind",
- "fields-to-discriminateBy": {
- "group": "Group",
- "serviceAccount": "ServiceAccount",
- "user": "User"
- }
- }
- ]
- },
- "v1beta3.UserSubject": {
- "description": "UserSubject holds detailed information for user-kind subject.",
- "properties": {
- "name": {
- "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.",
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "v1.HTTPIngressPath": {
- "description": "HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.",
- "properties": {
- "backend": {
- "$ref": "#/definitions/v1.IngressBackend",
- "description": "backend defines the referenced service endpoint to which the traffic will be forwarded to."
- },
- "path": {
- "description": "path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/' and must be present when using PathType with value \"Exact\" or \"Prefix\".",
- "type": "string"
- },
- "pathType": {
- "description": "pathType determines the interpretation of the path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is\n done on a path element by element basis. A path element refers is the\n list of labels in the path split by the '/' separator. A request is a\n match for path p if every p is an element-wise prefix of p of the\n request path. Note that if the last element of the path is a substring\n of the last element in request path, it is not a match (e.g. /foo/bar\n matches /foo/bar/baz, but does not match /foo/barbaz).\n* ImplementationSpecific: Interpretation of the Path matching is up to\n the IngressClass. Implementations can treat this as a separate PathType\n or treat it identically to Prefix or Exact path types.\nImplementations are required to support all path types.",
- "type": "string"
- }
- },
- "required": [
- "pathType",
- "backend"
- ],
- "type": "object"
- },
- "v1.HTTPIngressRuleValue": {
- "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.",
- "properties": {
- "paths": {
- "description": "paths is a collection of paths that map requests to backends.",
- "items": {
- "$ref": "#/definitions/v1.HTTPIngressPath"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- }
- },
- "required": [
- "paths"
- ],
- "type": "object"
- },
- "v1.IPBlock": {
- "description": "IPBlock describes a particular CIDR (Ex. \"192.168.1.0/24\",\"2001:db8::/64\") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.",
- "properties": {
- "cidr": {
- "description": "cidr is a string representing the IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\"",
- "type": "string"
- },
- "except": {
- "description": "except is a slice of CIDRs that should not be included within an IPBlock Valid examples are \"192.168.1.0/24\" or \"2001:db8::/64\" Except values will be rejected if they are outside the cidr range",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- }
- },
- "required": [
- "cidr"
- ],
- "type": "object"
- },
- "v1.Ingress": {
- "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "spec": {
- "$ref": "#/definitions/v1.IngressSpec",
- "description": "spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
- },
- "status": {
- "$ref": "#/definitions/v1.IngressStatus",
- "description": "status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
- }
- },
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- }
- ]
- },
- "v1.IngressBackend": {
- "description": "IngressBackend describes all endpoints for a given service and port.",
- "properties": {
- "resource": {
- "$ref": "#/definitions/v1.TypedLocalObjectReference",
- "description": "resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with \"Service\"."
- },
- "service": {
- "$ref": "#/definitions/v1.IngressServiceBackend",
- "description": "service references a service as a backend. This is a mutually exclusive setting with \"Resource\"."
- }
- },
- "type": "object"
- },
- "v1.IngressClass": {
- "description": "IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "spec": {
- "$ref": "#/definitions/v1.IngressClassSpec",
- "description": "spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
- }
- },
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
- }
- ]
- },
- "v1.IngressClassList": {
- "description": "IngressClassList is a collection of IngressClasses.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "items": {
- "description": "items is the list of IngressClasses.",
- "items": {
- "$ref": "#/definitions/v1.IngressClass"
- },
- "type": "array"
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
- },
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata."
- }
- },
- "required": [
- "items"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "networking.k8s.io",
- "kind": "IngressClassList",
- "version": "v1"
- }
- ]
- },
- "v1.IngressClassParametersReference": {
- "description": "IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.",
- "properties": {
- "apiGroup": {
- "description": "apiGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.",
- "type": "string"
- },
- "kind": {
- "description": "kind is the type of resource being referenced.",
- "type": "string"
- },
- "name": {
- "description": "name is the name of resource being referenced.",
- "type": "string"
- },
- "namespace": {
- "description": "namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".",
- "type": "string"
- },
- "scope": {
- "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".",
+ "description": "name is the name of resource being referenced.",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "namespace is the namespace of the resource being referenced. This field is required when scope is set to \"Namespace\" and must be unset when scope is set to \"Cluster\".",
+ "type": "string"
+ },
+ "scope": {
+ "description": "scope represents if this refers to a cluster or namespace scoped resource. This may be set to \"Cluster\" (default) or \"Namespace\".",
"type": "string"
}
},
@@ -14026,7 +14204,7 @@
},
"podSelector": {
"$ref": "#/definitions/v1.LabelSelector",
- "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace."
+ "description": "podSelector selects the pods to which this NetworkPolicy object applies. The array of rules is applied to any pods selected by this field. An empty selector matches all pods in the policy's namespace. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is optional. If it is not specified, it defaults to an empty selector."
},
"policyTypes": {
"description": "policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are [\"Ingress\"], [\"Egress\"], or [\"Ingress\", \"Egress\"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ \"Egress\" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include \"Egress\" (since such a policy would not include an egress section and would otherwise default to just [ \"Ingress\" ]). This field is beta-level in 1.8",
@@ -14037,8 +14215,31 @@
"x-kubernetes-list-type": "atomic"
}
},
+ "type": "object"
+ },
+ "v1.ParentReference": {
+ "description": "ParentReference describes a reference to a parent object.",
+ "properties": {
+ "group": {
+ "description": "Group is the group of the object being referenced.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name is the name of the object being referenced.",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "Namespace is the namespace of the object being referenced.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource is the resource of the object being referenced.",
+ "type": "string"
+ }
+ },
"required": [
- "podSelector"
+ "resource",
+ "name"
],
"type": "object"
},
@@ -14055,9 +14256,111 @@
"type": "integer"
}
},
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
+ "v1.ServiceCIDR": {
+ "description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1.ServiceCIDRSpec",
+ "description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ },
+ "status": {
+ "$ref": "#/definitions/v1.ServiceCIDRStatus",
+ "description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.ServiceCIDRList": {
+ "description": "ServiceCIDRList contains a list of ServiceCIDR objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "items is the list of ServiceCIDRs.",
+ "items": {
+ "$ref": "#/definitions/v1.ServiceCIDR"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDRList",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.ServiceCIDRSpec": {
+ "description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.",
+ "properties": {
+ "cidrs": {
+ "description": "CIDRs defines the IP blocks in CIDR notation (e.g. \"192.168.0.0/24\" or \"2001:db8::/64\") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
"type": "object"
},
- "v1alpha1.IPAddress": {
+ "v1.ServiceCIDRStatus": {
+ "description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.",
+ "properties": {
+ "conditions": {
+ "description": "conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state",
+ "items": {
+ "$ref": "#/definitions/v1.Condition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.IPAddress": {
"description": "IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1",
"properties": {
"apiVersion": {
@@ -14073,7 +14376,7 @@
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha1.IPAddressSpec",
+ "$ref": "#/definitions/v1beta1.IPAddressSpec",
"description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
}
},
@@ -14082,11 +14385,11 @@
{
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "v1alpha1.IPAddressList": {
+ "v1beta1.IPAddressList": {
"description": "IPAddressList contains a list of IPAddress.",
"properties": {
"apiVersion": {
@@ -14096,7 +14399,7 @@
"items": {
"description": "items is the list of IPAddresses.",
"items": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1beta1.IPAddress"
},
"type": "array"
},
@@ -14117,15 +14420,15 @@
{
"group": "networking.k8s.io",
"kind": "IPAddressList",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "v1alpha1.IPAddressSpec": {
+ "v1beta1.IPAddressSpec": {
"description": "IPAddressSpec describe the attributes in an IP Address.",
"properties": {
"parentRef": {
- "$ref": "#/definitions/v1alpha1.ParentReference",
+ "$ref": "#/definitions/v1beta1.ParentReference",
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
}
},
@@ -14134,7 +14437,7 @@
],
"type": "object"
},
- "v1alpha1.ParentReference": {
+ "v1beta1.ParentReference": {
"description": "ParentReference describes a reference to a parent object.",
"properties": {
"group": {
@@ -14160,7 +14463,7 @@
],
"type": "object"
},
- "v1alpha1.ServiceCIDR": {
+ "v1beta1.ServiceCIDR": {
"description": "ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.",
"properties": {
"apiVersion": {
@@ -14176,11 +14479,11 @@
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDRSpec",
+ "$ref": "#/definitions/v1beta1.ServiceCIDRSpec",
"description": "spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
},
"status": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDRStatus",
+ "$ref": "#/definitions/v1beta1.ServiceCIDRStatus",
"description": "status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
}
},
@@ -14189,11 +14492,11 @@
{
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "v1alpha1.ServiceCIDRList": {
+ "v1beta1.ServiceCIDRList": {
"description": "ServiceCIDRList contains a list of ServiceCIDR objects.",
"properties": {
"apiVersion": {
@@ -14203,7 +14506,7 @@
"items": {
"description": "items is the list of ServiceCIDRs.",
"items": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
},
"type": "array"
},
@@ -14224,11 +14527,11 @@
{
"group": "networking.k8s.io",
"kind": "ServiceCIDRList",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "v1alpha1.ServiceCIDRSpec": {
+ "v1beta1.ServiceCIDRSpec": {
"description": "ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.",
"properties": {
"cidrs": {
@@ -14242,7 +14545,7 @@
},
"type": "object"
},
- "v1alpha1.ServiceCIDRStatus": {
+ "v1beta1.ServiceCIDRStatus": {
"description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.",
"properties": {
"conditions": {
@@ -14485,7 +14788,7 @@
"x-kubernetes-patch-strategy": "replace"
},
"unhealthyPodEvictionPolicy": {
- "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.\n\nThis field is beta-level. The eviction API uses this field when the feature gate PDBUnhealthyPodEvictionPolicy is enabled (enabled by default).",
+ "description": "UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods should be considered for eviction. Current implementation considers healthy pods, as pods that have status.conditions item with type=\"Ready\",status=\"True\".\n\nValid policies are IfHealthyBudget and AlwaysAllow. If no policy is specified, the default behavior will be used, which corresponds to the IfHealthyBudget policy.\n\nIfHealthyBudget policy means that running pods (status.phase=\"Running\"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy). Healthy pods will be subject to the PDB for eviction.\n\nAlwaysAllow policy means that all running pods (status.phase=\"Running\"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met. This means perspective running pods of a disrupted application might not get a chance to become healthy. Healthy pods will be subject to the PDB for eviction.\n\nAdditional policies may be added in the future. Clients making eviction decisions should disallow eviction of unhealthy pods if they encounter an unrecognized policy in this field.",
"type": "string"
}
},
@@ -14954,112 +15257,246 @@
"type": "object",
"x-kubernetes-map-type": "atomic"
},
- "v1alpha2.AllocationResult": {
- "description": "AllocationResult contains attributes of an allocated resource.",
+ "v1.AllocatedDeviceStatus": {
+ "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.\n\nThe combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.",
"properties": {
- "availableOnNodes": {
- "$ref": "#/definitions/v1.NodeSelector",
- "description": "This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.\n\nSetting this field is optional. If null, the resource is available everywhere."
- },
- "resourceHandles": {
- "description": "ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.\n\nSetting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in.",
+ "conditions": {
+ "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceHandle"
+ "$ref": "#/definitions/v1.Condition"
},
"type": "array",
- "x-kubernetes-list-type": "atomic"
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map"
},
- "shareable": {
- "description": "Shareable determines whether the resource supports more than one consumer at a time.",
- "type": "boolean"
+ "data": {
+ "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
+ "type": "object"
+ },
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
+ "type": "string"
+ },
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
+ "type": "string"
+ },
+ "networkData": {
+ "$ref": "#/definitions/v1.NetworkDeviceData",
+ "description": "NetworkData contains network-related information specific to the device."
+ },
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
+ "type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device.",
+ "type": "string"
}
},
+ "required": [
+ "driver",
+ "pool",
+ "device"
+ ],
"type": "object"
},
- "v1alpha2.DriverAllocationResult": {
- "description": "DriverAllocationResult contains vendor parameters and the allocation result for one request.",
+ "v1.AllocationResult": {
+ "description": "AllocationResult contains attributes of an allocated resource.",
"properties": {
- "namedResources": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesAllocationResult",
- "description": "NamedResources describes the allocation result when using the named resources model."
+ "allocationTimestamp": {
+ "description": "AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.",
+ "format": "date-time",
+ "type": "string"
},
- "vendorRequestParameters": {
- "description": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.",
- "type": "object"
+ "devices": {
+ "$ref": "#/definitions/v1.DeviceAllocationResult",
+ "description": "Devices is the result of allocating devices."
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere."
}
},
"type": "object"
},
- "v1alpha2.DriverRequests": {
- "description": "DriverRequests describes all resources that are needed from one particular driver.",
+ "v1.CELDeviceSelector": {
+ "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
"properties": {
- "driverName": {
- "description": "DriverName is the name used by the DRA driver kubelet plugin.",
+ "expression": {
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device\n (v1.34+ with the DRAConsumableCapacity feature enabled).\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
"type": "string"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "v1.CapacityRequestPolicy": {
+ "description": "CapacityRequestPolicy defines how requests consume device capacity.\n\nMust not set more than one ValidRequestValues.",
+ "properties": {
+ "default": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity."
},
- "requests": {
- "description": "Requests describes all resources that are needed from the driver.",
+ "validRange": {
+ "$ref": "#/definitions/v1.CapacityRequestPolicyRange",
+ "description": "ValidRange defines an acceptable quantity value range in consuming requests.\n\nIf this field is set, Default must be defined and it must fall within the defined ValidRange.\n\nIf the requested amount does not fall within the defined range, the request violates the policy, and this device cannot be allocated.\n\nIf the request doesn't contain this capacity entry, Default value is used."
+ },
+ "validValues": {
+ "description": "ValidValues defines a set of acceptable quantity values in consuming requests.\n\nMust not contain more than 10 entries. Must be sorted in ascending order.\n\nIf this field is set, Default must be defined and it must be included in ValidValues list.\n\nIf the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) \u2208 validValues), where requestedValue \u2264 max(validValues).\n\nIf the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceRequest"
+ "$ref": "#/definitions/resource.Quantity"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1.CapacityRequestPolicyRange": {
+ "description": "CapacityRequestPolicyRange defines a valid range for consumable capacity values.\n\n - If the requested amount is less than Min, it is rounded up to the Min value.\n - If Step is set and the requested amount is between Min and Max but not aligned with Step,\n it will be rounded up to the next value equal to Min + (n * Step).\n - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).\n - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy,\n and the device cannot be allocated.",
+ "properties": {
+ "max": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Max defines the upper limit for capacity that can be requested.\n\nMax must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum."
},
- "vendorParameters": {
- "description": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim.",
+ "min": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Min specifies the minimum capacity allowed for a consumption request.\n\nMin must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum."
+ },
+ "step": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Step defines the step size between valid capacity amounts within the range.\n\nMax (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value."
+ }
+ },
+ "required": [
+ "min"
+ ],
+ "type": "object"
+ },
+ "v1.CapacityRequirements": {
+ "description": "CapacityRequirements defines the capacity requirements for a specific device request.",
+ "properties": {
+ "requests": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device.\n\nThis value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0.\n\nWhen a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value\u2014because it exceeds what the requestPolicy allows\u2014 the device is considered ineligible for allocation.\n\nFor any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity\n (i.e., the whole device is claimed).\n- If a requestPolicy is set, the default consumed capacity is determined according to that policy.\n\nIf the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim\u2019s status.devices[*].consumedCapacity field.",
"type": "object"
}
},
"type": "object"
},
- "v1alpha2.NamedResourcesAllocationResult": {
- "description": "NamedResourcesAllocationResult is used in AllocationResultModel.",
+ "v1.Counter": {
+ "description": "Counter describes a quantity associated with a device.",
+ "properties": {
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain device counter is available."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "v1.CounterSet": {
+ "description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.",
"properties": {
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.Counter"
+ },
+ "description": "Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.\n\nThe maximum number of counters in all sets is 32.",
+ "type": "object"
+ },
"name": {
- "description": "Name is the name of the selected resource instance.",
+ "description": "Name defines the name of the counter set. It must be a DNS label.",
"type": "string"
}
},
"required": [
- "name"
+ "name",
+ "counters"
],
"type": "object"
},
- "v1alpha2.NamedResourcesAttribute": {
- "description": "NamedResourcesAttribute is a combination of an attribute name and its value.",
+ "v1.Device": {
+ "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.",
"properties": {
- "bool": {
- "description": "BoolValue is a true/false value.",
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
"type": "boolean"
},
- "int": {
- "description": "IntValue is a 64-bit integer.",
- "format": "int64",
- "type": "integer"
+ "allowMultipleAllocations": {
+ "description": "AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.\n\nIf AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.",
+ "type": "boolean"
+ },
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.DeviceAttribute"
+ },
+ "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
+ },
+ "bindingConditions": {
+ "description": "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.\n\nThe maximum number of binding conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred.\n\nThe maximum number of binding failure conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindsToNode": {
+ "description": "BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "type": "boolean"
},
- "intSlice": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesIntSlice",
- "description": "IntSliceValue is an array of 64-bit integers."
+ "capacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.DeviceCapacity"
+ },
+ "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
+ },
+ "consumesCounters": {
+ "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceCounterConsumption"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
"name": {
- "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.",
+ "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.",
"type": "string"
},
- "quantity": {
- "$ref": "#/definitions/resource.Quantity",
- "description": "QuantityValue is a quantity."
- },
- "string": {
- "description": "StringValue is a string.",
+ "nodeName": {
+ "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
"type": "string"
},
- "stringSlice": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesStringSlice",
- "description": "StringSliceValue is an array of strings."
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines the nodes where the device is available.\n\nMust use exactly one term.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
},
- "version": {
- "description": "VersionValue is a semantic version according to semver.org spec 2.0.0.",
- "type": "string"
+ "taints": {
+ "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceTaint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
@@ -15067,93 +15504,132 @@
],
"type": "object"
},
- "v1alpha2.NamedResourcesFilter": {
- "description": "NamedResourcesFilter is used in ResourceFilterModel.",
- "properties": {
- "selector": {
- "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()",
- "type": "string"
- }
- },
- "required": [
- "selector"
- ],
- "type": "object"
- },
- "v1alpha2.NamedResourcesInstance": {
- "description": "NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.",
+ "v1.DeviceAllocationConfiguration": {
+ "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.",
"properties": {
- "attributes": {
- "description": "Attributes defines the attributes of this resource instance. The name of each attribute must be unique.",
+ "opaque": {
+ "$ref": "#/definitions/v1.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
+ },
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesAttribute"
+ "type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "name": {
- "description": "Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.",
+ "source": {
+ "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.",
"type": "string"
}
},
"required": [
- "name"
+ "source"
],
"type": "object"
},
- "v1alpha2.NamedResourcesIntSlice": {
- "description": "NamedResourcesIntSlice contains a slice of 64-bit integers.",
+ "v1.DeviceAllocationResult": {
+ "description": "DeviceAllocationResult is the result of allocating devices.",
"properties": {
- "ints": {
- "description": "Ints is the slice of 64-bit integers.",
+ "config": {
+ "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.",
"items": {
- "format": "int64",
- "type": "integer"
+ "$ref": "#/definitions/v1.DeviceAllocationConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "results": {
+ "description": "Results lists all allocated devices.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceRequestAllocationResult"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "ints"
- ],
"type": "object"
},
- "v1alpha2.NamedResourcesRequest": {
- "description": "NamedResourcesRequest is used in ResourceRequestModel.",
+ "v1.DeviceAttribute": {
+ "description": "DeviceAttribute must have exactly one field set.",
"properties": {
- "selector": {
- "description": "Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/\n\nIn addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:\n\n attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) &&\n attributes.stringslice[\"b\"].isSorted()",
+ "bool": {
+ "description": "BoolValue is a true/false value.",
+ "type": "boolean"
+ },
+ "int": {
+ "description": "IntValue is a number.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "string": {
+ "description": "StringValue is a string. Must not be longer than 64 characters.",
"type": "string"
+ },
+ "version": {
+ "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.DeviceCapacity": {
+ "description": "DeviceCapacity describes a quantity associated with a device.",
+ "properties": {
+ "requestPolicy": {
+ "$ref": "#/definitions/v1.CapacityRequestPolicy",
+ "description": "RequestPolicy defines how this DeviceCapacity must be consumed when the device is allowed to be shared by multiple allocations.\n\nThe Device must have allowMultipleAllocations set to true in order to set a requestPolicy.\n\nIf unset, capacity requests are unconstrained: requests can consume any amount of capacity, as long as the total consumed across all allocations does not exceed the device's defined capacity. If request is also unset, default is the full capacity value."
+ },
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain capacity that device has.\n\nThis field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value."
}
},
"required": [
- "selector"
+ "value"
],
"type": "object"
},
- "v1alpha2.NamedResourcesResources": {
- "description": "NamedResourcesResources is used in ResourceModel.",
+ "v1.DeviceClaim": {
+ "description": "DeviceClaim defines how to request devices with a ResourceClaim.",
"properties": {
- "instances": {
- "description": "The list of all individual resources instances currently available.",
+ "config": {
+ "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceClaimConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "constraints": {
+ "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceConstraint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "requests": {
+ "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.",
"items": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesInstance"
+ "$ref": "#/definitions/v1.DeviceRequest"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "instances"
- ],
"type": "object"
},
- "v1alpha2.NamedResourcesStringSlice": {
- "description": "NamedResourcesStringSlice contains a slice of strings.",
+ "v1.DeviceClaimConfiguration": {
+ "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.",
"properties": {
- "strings": {
- "description": "Strings is the slice of strings.",
+ "opaque": {
+ "$ref": "#/definitions/v1.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
+ },
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
"type": "string"
},
@@ -15161,13 +15637,10 @@
"x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "strings"
- ],
"type": "object"
},
- "v1alpha2.PodSchedulingContext": {
- "description": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
+ "v1.DeviceClass": {
+ "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -15182,12 +15655,8 @@
"description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContextSpec",
- "description": "Spec describes where resources for the Pod are needed."
- },
- "status": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContextStatus",
- "description": "Status describes where resources for the Pod can be allocated."
+ "$ref": "#/definitions/v1.DeviceClassSpec",
+ "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
"required": [
@@ -15197,22 +15666,32 @@
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "DeviceClass",
+ "version": "v1"
}
]
},
- "v1alpha2.PodSchedulingContextList": {
- "description": "PodSchedulingContextList is a collection of Pod scheduling objects.",
+ "v1.DeviceClassConfiguration": {
+ "description": "DeviceClassConfiguration is used in DeviceClass.",
+ "properties": {
+ "opaque": {
+ "$ref": "#/definitions/v1.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
+ }
+ },
+ "type": "object"
+ },
+ "v1.DeviceClassList": {
+ "description": "DeviceClassList is a collection of classes.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "Items is the list of PodSchedulingContext objects.",
+ "description": "Items is the list of resource classes.",
"items": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1.DeviceClass"
},
"type": "array"
},
@@ -15232,48 +15711,371 @@
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "PodSchedulingContextList",
- "version": "v1alpha2"
+ "kind": "DeviceClassList",
+ "version": "v1"
}
]
},
- "v1alpha2.PodSchedulingContextSpec": {
- "description": "PodSchedulingContextSpec describes where resources for the Pod are needed.",
+ "v1.DeviceClassSpec": {
+ "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.",
+ "properties": {
+ "config": {
+ "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceClassConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "extendedResourceName": {
+ "description": "ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked.\n\nThis is an alpha field.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Each selector must be satisfied by a device which is claimed via this class.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1.DeviceConstraint": {
+ "description": "DeviceConstraint must have exactly one field set besides Requests.",
+ "properties": {
+ "distinctAttribute": {
+ "description": "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices.\n\nThis acts as the inverse of MatchAttribute.\n\nThis constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation.\n\nThis is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs.",
+ "type": "string"
+ },
+ "matchAttribute": {
+ "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.",
+ "type": "string"
+ },
+ "requests": {
+ "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the constraint applies to all subrequests.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1.DeviceCounterConsumption": {
+ "description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.",
+ "properties": {
+ "counterSet": {
+ "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
+ "type": "string"
+ },
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.Counter"
+ },
+ "description": "Counters defines the counters that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
+ "type": "object"
+ }
+ },
+ "required": [
+ "counterSet",
+ "counters"
+ ],
+ "type": "object"
+ },
+ "v1.DeviceRequest": {
+ "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.",
+ "properties": {
+ "exactly": {
+ "$ref": "#/definitions/v1.ExactDeviceRequest",
+ "description": "Exactly specifies the details for a single request that must be met exactly for the request to be satisfied.\n\nOne of Exactly or FirstAvailable must be set."
+ },
+ "firstAvailable": {
+ "description": "FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceSubRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "name": {
+ "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nReferences using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler.\n\nMust be a DNS label.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "v1.DeviceRequestAllocationResult": {
+ "description": "DeviceRequestAllocationResult contains the allocation result for one request.",
"properties": {
- "potentialNodes": {
- "description": "PotentialNodes lists nodes where the Pod might be able to run.\n\nThe size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.",
+ "adminAccess": {
+ "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "type": "boolean"
+ },
+ "bindingConditions": {
+ "description": "BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "selectedNode": {
- "description": "SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use \"WaitForFirstConsumer\" allocation is to be attempted.",
+ "consumedCapacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device\u2019s requestPolicy if applicable (i.e., may not be less than the requested amount).\n\nThe total consumed capacity for each device must not exceed the DeviceCapacity's Value.\n\nThis field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.",
+ "type": "object"
+ },
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
"type": "string"
+ },
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
+ "type": "string"
+ },
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
+ "type": "string"
+ },
+ "request": {
+ "description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
+ "type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device.",
+ "type": "string"
+ },
+ "tolerations": {
+ "description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
+ "required": [
+ "request",
+ "driver",
+ "pool",
+ "device"
+ ],
"type": "object"
},
- "v1alpha2.PodSchedulingContextStatus": {
- "description": "PodSchedulingContextStatus describes where resources for the Pod can be allocated.",
+ "v1.DeviceSelector": {
+ "description": "DeviceSelector must have exactly one field set.",
"properties": {
- "resourceClaims": {
- "description": "ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.",
+ "cel": {
+ "$ref": "#/definitions/v1.CELDeviceSelector",
+ "description": "CEL contains a CEL expression for selecting a device."
+ }
+ },
+ "type": "object"
+ },
+ "v1.DeviceSubRequest": {
+ "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.",
+ "properties": {
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "type": "string"
+ },
+ "capacity": {
+ "$ref": "#/definitions/v1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format /.\n\nMust be a DNS label.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimSchedulingStatus"
+ "$ref": "#/definitions/v1.DeviceSelector"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "name"
- ],
- "x-kubernetes-list-type": "map"
+ "x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "name",
+ "deviceClassName"
+ ],
+ "type": "object"
+ },
+ "v1.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
+ "properties": {
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
+ "type": "string"
+ },
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
+ "type": "string"
+ },
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "effect"
+ ],
+ "type": "object"
+ },
+ "v1.DeviceToleration": {
+ "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
+ "properties": {
+ "effect": {
+ "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.",
+ "type": "string"
+ },
+ "tolerationSeconds": {
+ "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
+ "format": "int64",
+ "type": "integer"
+ },
+ "value": {
+ "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
+ "type": "string"
}
},
"type": "object"
},
- "v1alpha2.ResourceClaim": {
- "description": "ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
+ "v1.ExactDeviceRequest": {
+ "description": "ExactDeviceRequest is a request for one or more identical devices.",
+ "properties": {
+ "adminAccess": {
+ "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "type": "boolean"
+ },
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "type": "string"
+ },
+ "capacity": {
+ "$ref": "#/definitions/v1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA DeviceClassName is required.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "deviceClassName"
+ ],
+ "type": "object"
+ },
+ "v1.NetworkDeviceData": {
+ "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
+ "properties": {
+ "hardwareAddress": {
+ "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.",
+ "type": "string"
+ },
+ "interfaceName": {
+ "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.",
+ "type": "string"
+ },
+ "ips": {
+ "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1.OpaqueDeviceConfiguration": {
+ "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.",
+ "properties": {
+ "driver": {
+ "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "driver",
+ "parameters"
+ ],
+ "type": "object"
+ },
+ "resource.v1.ResourceClaim": {
+ "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -15288,12 +16090,12 @@
"description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimSpec",
- "description": "Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim."
+ "$ref": "#/definitions/v1.ResourceClaimSpec",
+ "description": "Spec describes what is being requested and how to configure it. The spec is immutable."
},
"status": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimStatus",
- "description": "Status describes whether the resource is available and with which attributes."
+ "$ref": "#/definitions/v1.ResourceClaimStatus",
+ "description": "Status describes whether the claim is ready to use and what has been allocated."
}
},
"required": [
@@ -15304,11 +16106,11 @@
{
"group": "resource.k8s.io",
"kind": "ResourceClaim",
- "version": "v1alpha2"
+ "version": "v1"
}
]
},
- "v1alpha2.ResourceClaimConsumerReference": {
+ "v1.ResourceClaimConsumerReference": {
"description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.",
"properties": {
"apiGroup": {
@@ -15335,7 +16137,7 @@
],
"type": "object"
},
- "v1alpha2.ResourceClaimList": {
+ "v1.ResourceClaimList": {
"description": "ResourceClaimList is a collection of claims.",
"properties": {
"apiVersion": {
@@ -15345,7 +16147,7 @@
"items": {
"description": "Items is the list of resource claims.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
},
"type": "array"
},
@@ -15366,28 +16168,63 @@
{
"group": "resource.k8s.io",
"kind": "ResourceClaimList",
- "version": "v1alpha2"
+ "version": "v1"
}
]
},
- "v1alpha2.ResourceClaimParameters": {
- "description": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.",
+ "v1.ResourceClaimSpec": {
+ "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "devices": {
+ "$ref": "#/definitions/v1.DeviceClaim",
+ "description": "Devices defines how to request devices."
+ }
+ },
+ "type": "object"
+ },
+ "v1.ResourceClaimStatus": {
+ "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.",
+ "properties": {
+ "allocation": {
+ "$ref": "#/definitions/v1.AllocationResult",
+ "description": "Allocation is set once the claim has been allocated successfully."
},
- "driverRequests": {
- "description": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated.",
+ "devices": {
+ "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.",
"items": {
- "$ref": "#/definitions/v1alpha2.DriverRequests"
+ "$ref": "#/definitions/v1.AllocatedDeviceStatus"
},
"type": "array",
- "x-kubernetes-list-type": "atomic"
+ "x-kubernetes-list-map-keys": [
+ "driver",
+ "device",
+ "pool",
+ "shareID"
+ ],
+ "x-kubernetes-list-type": "map"
},
- "generatedFrom": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParametersReference",
- "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type."
+ "reservedFor": {
+ "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 256 such reservations. This may get increased in the future, but not reduced.",
+ "items": {
+ "$ref": "#/definitions/v1.ResourceClaimConsumerReference"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "uid"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "uid",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "type": "object"
+ },
+ "v1.ResourceClaimTemplate": {
+ "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
@@ -15397,31 +16234,34 @@
"$ref": "#/definitions/v1.ObjectMeta",
"description": "Standard object metadata"
},
- "shareable": {
- "description": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.",
- "type": "boolean"
+ "spec": {
+ "$ref": "#/definitions/v1.ResourceClaimTemplateSpec",
+ "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore."
}
},
+ "required": [
+ "spec"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1"
}
]
},
- "v1alpha2.ResourceClaimParametersList": {
- "description": "ResourceClaimParametersList is a collection of ResourceClaimParameters.",
+ "v1.ResourceClaimTemplateList": {
+ "description": "ResourceClaimTemplateList is a collection of claim templates.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "Items is the list of node resource capacity objects.",
+ "description": "Items is the list of resource claim templates.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
},
"type": "array"
},
@@ -15441,105 +16281,55 @@
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "ResourceClaimParametersList",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplateList",
+ "version": "v1"
}
]
},
- "v1alpha2.ResourceClaimParametersReference": {
- "description": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.",
+ "v1.ResourceClaimTemplateSpec": {
+ "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.",
"properties": {
- "apiGroup": {
- "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
- "type": "string"
- },
- "kind": {
- "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example \"ConfigMap\".",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation."
},
- "name": {
- "description": "Name is the name of resource being referenced.",
- "type": "string"
+ "spec": {
+ "$ref": "#/definitions/v1.ResourceClaimSpec",
+ "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here."
}
},
"required": [
- "kind",
- "name"
+ "spec"
],
"type": "object"
},
- "v1alpha2.ResourceClaimSchedulingStatus": {
- "description": "ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with \"WaitForFirstConsumer\" allocation mode.",
+ "v1.ResourcePool": {
+ "description": "ResourcePool describes the pool that ResourceSlices belong to.",
"properties": {
+ "generation": {
+ "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.",
+ "format": "int64",
+ "type": "integer"
+ },
"name": {
- "description": "Name matches the pod.spec.resourceClaims[*].Name field.",
+ "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.",
"type": "string"
},
- "unsuitableNodes": {
- "description": "UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.\n\nThe size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- }
- },
- "type": "object"
- },
- "v1alpha2.ResourceClaimSpec": {
- "description": "ResourceClaimSpec defines how a resource is to be allocated.",
- "properties": {
- "allocationMode": {
- "description": "Allocation can start immediately or when a Pod wants to use the resource. \"WaitForFirstConsumer\" is the default.",
- "type": "string"
- },
- "parametersRef": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParametersReference",
- "description": "ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.\n\nThe object must be in the same namespace as the ResourceClaim."
- },
- "resourceClassName": {
- "description": "ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.",
- "type": "string"
+ "resourceSliceCount": {
+ "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.",
+ "format": "int64",
+ "type": "integer"
}
},
"required": [
- "resourceClassName"
+ "name",
+ "generation",
+ "resourceSliceCount"
],
"type": "object"
},
- "v1alpha2.ResourceClaimStatus": {
- "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.",
- "properties": {
- "allocation": {
- "$ref": "#/definitions/v1alpha2.AllocationResult",
- "description": "Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet."
- },
- "deallocationRequested": {
- "description": "DeallocationRequested indicates that a ResourceClaim is to be deallocated.\n\nThe driver then must deallocate this claim and reset the field together with clearing the Allocation field.\n\nWhile DeallocationRequested is set, no new consumers may be added to ReservedFor.",
- "type": "boolean"
- },
- "driverName": {
- "description": "DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.",
- "type": "string"
- },
- "reservedFor": {
- "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.\n\nThere can be at most 32 such reservations. This may get increased in the future, but not reduced.",
- "items": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimConsumerReference"
- },
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "uid"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "uid",
- "x-kubernetes-patch-strategy": "merge"
- }
- },
- "type": "object"
- },
- "v1alpha2.ResourceClaimTemplate": {
- "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.",
+ "v1.ResourceSlice": {
+ "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -15554,8 +16344,8 @@
"description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateSpec",
- "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore."
+ "$ref": "#/definitions/v1.ResourceSliceSpec",
+ "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
"required": [
@@ -15565,22 +16355,22 @@
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
+ "kind": "ResourceSlice",
+ "version": "v1"
}
]
},
- "v1alpha2.ResourceClaimTemplateList": {
- "description": "ResourceClaimTemplateList is a collection of claim templates.",
+ "v1.ResourceSliceList": {
+ "description": "ResourceSliceList is a collection of ResourceSlices.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "Items is the list of resource claim templates.",
+ "description": "Items is the list of resource ResourceSlices.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.ResourceSlice"
},
"type": "array"
},
@@ -15600,126 +16390,118 @@
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "ResourceClaimTemplateList",
- "version": "v1alpha2"
+ "kind": "ResourceSliceList",
+ "version": "v1"
}
]
},
- "v1alpha2.ResourceClaimTemplateSpec": {
- "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.",
+ "v1.ResourceSliceSpec": {
+ "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.",
"properties": {
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation."
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
},
- "spec": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimSpec",
- "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here."
- }
- },
- "required": [
- "spec"
- ],
- "type": "object"
- },
- "v1alpha2.ResourceClass": {
- "description": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "devices": {
+ "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.",
+ "items": {
+ "$ref": "#/definitions/v1.Device"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "driverName": {
- "description": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).",
+ "driver": {
+ "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "nodeName": {
+ "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata"
- },
- "parametersRef": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParametersReference",
- "description": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec."
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set."
},
- "structuredParameters": {
- "description": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.",
+ "perDeviceNodeSelection": {
+ "description": "PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
"type": "boolean"
},
- "suitableNodes": {
- "$ref": "#/definitions/v1.NodeSelector",
- "description": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates."
+ "pool": {
+ "$ref": "#/definitions/v1.ResourcePool",
+ "description": "Pool describes the pool that this ResourceSlice belongs to."
+ },
+ "sharedCounters": {
+ "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of counters in all sets is 32.",
+ "items": {
+ "$ref": "#/definitions/v1.CounterSet"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "driverName"
+ "driver",
+ "pool"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
+ "type": "object"
+ },
+ "v1alpha3.CELDeviceSelector": {
+ "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
+ "properties": {
+ "expression": {
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
+ "type": "string"
}
- ]
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
},
- "v1alpha2.ResourceClassList": {
- "description": "ResourceClassList is a collection of classes.",
+ "v1alpha3.DeviceSelector": {
+ "description": "DeviceSelector must have exactly one field set.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "cel": {
+ "$ref": "#/definitions/v1alpha3.CELDeviceSelector",
+ "description": "CEL contains a CEL expression for selecting a device."
+ }
+ },
+ "type": "object"
+ },
+ "v1alpha3.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
+ "properties": {
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
"type": "string"
},
- "items": {
- "description": "Items is the list of resource classes.",
- "items": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
- },
- "type": "array"
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
+ "type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata"
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
}
},
"required": [
- "items"
+ "key",
+ "effect"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "resource.k8s.io",
- "kind": "ResourceClassList",
- "version": "v1alpha2"
- }
- ]
+ "type": "object"
},
- "v1alpha2.ResourceClassParameters": {
- "description": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.",
+ "v1alpha3.DeviceTaintRule": {
+ "description": "DeviceTaintRule adds one taint to all devices which match the selector. This has the same effect as if the taint was specified directly in the ResourceSlice by the DRA driver.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "filters": {
- "description": "Filters describes additional contraints that must be met when using the class.",
- "items": {
- "$ref": "#/definitions/v1alpha2.ResourceFilter"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "generatedFrom": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParametersReference",
- "description": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type."
- },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
@@ -15728,35 +16510,34 @@
"$ref": "#/definitions/v1.ObjectMeta",
"description": "Standard object metadata"
},
- "vendorParameters": {
- "description": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.",
- "items": {
- "$ref": "#/definitions/v1alpha2.VendorParameters"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "spec": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRuleSpec",
+ "description": "Spec specifies the selector and one taint.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
+ "required": [
+ "spec"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
}
]
},
- "v1alpha2.ResourceClassParametersList": {
- "description": "ResourceClassParametersList is a collection of ResourceClassParameters.",
+ "v1alpha3.DeviceTaintRuleList": {
+ "description": "DeviceTaintRuleList is a collection of DeviceTaintRules.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "Items is the list of node resource capacity objects.",
+ "description": "Items is the list of DeviceTaintRules.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
},
"type": "array"
},
@@ -15776,283 +16557,452 @@
"x-kubernetes-group-version-kind": [
{
"group": "resource.k8s.io",
- "kind": "ResourceClassParametersList",
- "version": "v1alpha2"
+ "kind": "DeviceTaintRuleList",
+ "version": "v1alpha3"
}
]
},
- "v1alpha2.ResourceClassParametersReference": {
- "description": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.",
+ "v1alpha3.DeviceTaintRuleSpec": {
+ "description": "DeviceTaintRuleSpec specifies the selector and one taint.",
"properties": {
- "apiGroup": {
- "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
- "type": "string"
- },
- "kind": {
- "description": "Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.",
- "type": "string"
- },
- "name": {
- "description": "Name is the name of resource being referenced.",
- "type": "string"
+ "deviceSelector": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintSelector",
+ "description": "DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches."
},
- "namespace": {
- "description": "Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.",
- "type": "string"
+ "taint": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaint",
+ "description": "The taint that gets applied to matching devices."
}
},
"required": [
- "kind",
- "name"
+ "taint"
],
"type": "object"
},
- "v1alpha2.ResourceFilter": {
- "description": "ResourceFilter is a filter for resources from one particular driver.",
+ "v1alpha3.DeviceTaintSelector": {
+ "description": "DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.",
"properties": {
- "driverName": {
- "description": "DriverName is the name used by the DRA driver kubelet plugin.",
+ "device": {
+ "description": "If device is set, only devices with that name are selected. This field corresponds to slice.spec.devices[].name.\n\nSetting also driver and pool may be required to avoid ambiguity, but is not required.",
+ "type": "string"
+ },
+ "deviceClassName": {
+ "description": "If DeviceClassName is set, the selectors defined there must be satisfied by a device to be selected. This field corresponds to class.metadata.name.",
"type": "string"
},
- "namedResources": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesFilter",
- "description": "NamedResources describes a resource filter using the named resources model."
+ "driver": {
+ "description": "If driver is set, only devices from that driver are selected. This fields corresponds to slice.spec.driver.",
+ "type": "string"
+ },
+ "pool": {
+ "description": "If pool is set, only devices in that pool are selected.\n\nAlso setting the driver name may be useful to avoid ambiguity when different drivers use the same pool name, but this is not required because selecting pools from different drivers may also be useful, for example when drivers with node-local devices use the node name as their pool name.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors contains the same selection criteria as a ResourceClaim. Currently, CEL expressions are supported. All of these selectors must be satisfied.",
+ "items": {
+ "$ref": "#/definitions/v1alpha3.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1alpha2.ResourceHandle": {
- "description": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.",
+ "v1beta1.AllocatedDeviceStatus": {
+ "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.\n\nThe combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.",
"properties": {
+ "conditions": {
+ "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
+ "items": {
+ "$ref": "#/definitions/v1.Condition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map"
+ },
"data": {
- "description": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.",
+ "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
+ "type": "object"
+ },
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
"type": "string"
},
- "driverName": {
- "description": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.",
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
"type": "string"
},
- "structuredData": {
- "$ref": "#/definitions/v1alpha2.StructuredResourceHandle",
- "description": "If StructuredData is set, then it needs to be used instead of Data."
+ "networkData": {
+ "$ref": "#/definitions/v1beta1.NetworkDeviceData",
+ "description": "NetworkData contains network-related information specific to the device."
+ },
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
+ "type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device.",
+ "type": "string"
}
},
+ "required": [
+ "driver",
+ "pool",
+ "device"
+ ],
"type": "object"
},
- "v1alpha2.ResourceRequest": {
- "description": "ResourceRequest is a request for resources from one particular driver.",
+ "v1beta1.AllocationResult": {
+ "description": "AllocationResult contains attributes of an allocated resource.",
"properties": {
- "namedResources": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesRequest",
- "description": "NamedResources describes a request for resources with the named resources model."
+ "allocationTimestamp": {
+ "description": "AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.",
+ "format": "date-time",
+ "type": "string"
},
- "vendorParameters": {
- "description": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim.",
- "type": "object"
+ "devices": {
+ "$ref": "#/definitions/v1beta1.DeviceAllocationResult",
+ "description": "Devices is the result of allocating devices."
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere."
}
},
"type": "object"
},
- "v1alpha2.ResourceSlice": {
- "description": "ResourceSlice provides information about available resources on individual nodes.",
+ "v1beta1.BasicDevice": {
+ "description": "BasicDevice defines one device instance.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "boolean"
},
- "driverName": {
- "description": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.",
- "type": "string"
+ "allowMultipleAllocations": {
+ "description": "AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.\n\nIf AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.",
+ "type": "boolean"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta1.DeviceAttribute"
+ },
+ "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata"
+ "bindingConditions": {
+ "description": "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.\n\nThe maximum number of binding conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is true, a binding failure occurred.\n\nThe maximum number of binding failure conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindsToNode": {
+ "description": "BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "type": "boolean"
+ },
+ "capacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta1.DeviceCapacity"
+ },
+ "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
},
- "namedResources": {
- "$ref": "#/definitions/v1alpha2.NamedResourcesResources",
- "description": "NamedResources describes available resources using the named resources model."
+ "consumesCounters": {
+ "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceCounterConsumption"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
"nodeName": {
- "description": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name.",
+ "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "string"
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines the nodes where the device is available.\n\nMust use exactly one term.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
+ },
+ "taints": {
+ "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceTaint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.CELDeviceSelector": {
+ "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
+ "properties": {
+ "expression": {
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device\n (v1.34+ with the DRAConsumableCapacity feature enabled).\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
"type": "string"
}
},
"required": [
- "driverName"
+ "expression"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
- }
- ]
+ "type": "object"
},
- "v1alpha2.ResourceSliceList": {
- "description": "ResourceSliceList is a collection of ResourceSlices.",
+ "v1beta1.CapacityRequestPolicy": {
+ "description": "CapacityRequestPolicy defines how requests consume device capacity.\n\nMust not set more than one ValidRequestValues.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "default": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity."
},
- "items": {
- "description": "Items is the list of node resource capacity objects.",
+ "validRange": {
+ "$ref": "#/definitions/v1beta1.CapacityRequestPolicyRange",
+ "description": "ValidRange defines an acceptable quantity value range in consuming requests.\n\nIf this field is set, Default must be defined and it must fall within the defined ValidRange.\n\nIf the requested amount does not fall within the defined range, the request violates the policy, and this device cannot be allocated.\n\nIf the request doesn't contain this capacity entry, Default value is used."
+ },
+ "validValues": {
+ "description": "ValidValues defines a set of acceptable quantity values in consuming requests.\n\nMust not contain more than 10 entries. Must be sorted in ascending order.\n\nIf this field is set, Default must be defined and it must be included in ValidValues list.\n\nIf the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) \u2208 validValues), where requestedValue \u2264 max(validValues).\n\nIf the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.",
"items": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/resource.Quantity"
},
- "type": "array"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.CapacityRequestPolicyRange": {
+ "description": "CapacityRequestPolicyRange defines a valid range for consumable capacity values.\n\n - If the requested amount is less than Min, it is rounded up to the Min value.\n - If Step is set and the requested amount is between Min and Max but not aligned with Step,\n it will be rounded up to the next value equal to Min + (n * Step).\n - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).\n - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy,\n and the device cannot be allocated.",
+ "properties": {
+ "max": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Max defines the upper limit for capacity that can be requested.\n\nMax must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum."
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
+ "min": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Min specifies the minimum capacity allowed for a consumption request.\n\nMin must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum."
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata"
+ "step": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Step defines the step size between valid capacity amounts within the range.\n\nMax (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value."
}
},
"required": [
- "items"
+ "min"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "resource.k8s.io",
- "kind": "ResourceSliceList",
- "version": "v1alpha2"
+ "type": "object"
+ },
+ "v1beta1.CapacityRequirements": {
+ "description": "CapacityRequirements defines the capacity requirements for a specific device request.",
+ "properties": {
+ "requests": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device.\n\nThis value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0.\n\nWhen a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value\u2014because it exceeds what the requestPolicy allows\u2014 the device is considered ineligible for allocation.\n\nFor any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity\n (i.e., the whole device is claimed).\n- If a requestPolicy is set, the default consumed capacity is determined according to that policy.\n\nIf the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim\u2019s status.devices[*].consumedCapacity field.",
+ "type": "object"
}
- ]
+ },
+ "type": "object"
},
- "v1alpha2.StructuredResourceHandle": {
- "description": "StructuredResourceHandle is the in-tree representation of the allocation result.",
+ "v1beta1.Counter": {
+ "description": "Counter describes a quantity associated with a device.",
"properties": {
- "nodeName": {
- "description": "NodeName is the name of the node providing the necessary resources if the resources are local to a node.",
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain device counter is available."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "type": "object"
+ },
+ "v1beta1.CounterSet": {
+ "description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.",
+ "properties": {
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta1.Counter"
+ },
+ "description": "Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.\n\nThe maximum number of counters is 32.",
+ "type": "object"
+ },
+ "name": {
+ "description": "Name defines the name of the counter set. It must be a DNS label.",
"type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "counters"
+ ],
+ "type": "object"
+ },
+ "v1beta1.Device": {
+ "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.",
+ "properties": {
+ "basic": {
+ "$ref": "#/definitions/v1beta1.BasicDevice",
+ "description": "Basic defines one device instance."
},
- "results": {
- "description": "Results lists all allocated driver resources.",
+ "name": {
+ "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "v1beta1.DeviceAllocationConfiguration": {
+ "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.",
+ "properties": {
+ "opaque": {
+ "$ref": "#/definitions/v1beta1.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
+ },
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
"items": {
- "$ref": "#/definitions/v1alpha2.DriverAllocationResult"
+ "type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "vendorClaimParameters": {
- "description": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.",
- "type": "object"
- },
- "vendorClassParameters": {
- "description": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.",
- "type": "object"
+ "source": {
+ "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.",
+ "type": "string"
}
},
"required": [
- "results"
+ "source"
],
"type": "object"
},
- "v1alpha2.VendorParameters": {
- "description": "VendorParameters are opaque parameters for one particular driver.",
+ "v1beta1.DeviceAllocationResult": {
+ "description": "DeviceAllocationResult is the result of allocating devices.",
"properties": {
- "driverName": {
- "description": "DriverName is the name used by the DRA driver kubelet plugin.",
- "type": "string"
+ "config": {
+ "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceAllocationConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "parameters": {
- "description": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.",
- "type": "object"
+ "results": {
+ "description": "Results lists all allocated devices.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceRequestAllocationResult"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1.PriorityClass": {
- "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.",
+ "v1beta1.DeviceAttribute": {
+ "description": "DeviceAttribute must have exactly one field set.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "description": {
- "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.",
- "type": "string"
- },
- "globalDefault": {
- "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.",
+ "bool": {
+ "description": "BoolValue is a true/false value.",
"type": "boolean"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
+ "int": {
+ "description": "IntValue is a number.",
+ "format": "int64",
+ "type": "integer"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "string": {
+ "description": "StringValue is a string. Must not be longer than 64 characters.",
+ "type": "string"
},
- "preemptionPolicy": {
- "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.",
+ "version": {
+ "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.DeviceCapacity": {
+ "description": "DeviceCapacity describes a quantity associated with a device.",
+ "properties": {
+ "requestPolicy": {
+ "$ref": "#/definitions/v1beta1.CapacityRequestPolicy",
+ "description": "RequestPolicy defines how this DeviceCapacity must be consumed when the device is allowed to be shared by multiple allocations.\n\nThe Device must have allowMultipleAllocations set to true in order to set a requestPolicy.\n\nIf unset, capacity requests are unconstrained: requests can consume any amount of capacity, as long as the total consumed across all allocations does not exceed the device's defined capacity. If request is also unset, default is the full capacity value."
},
"value": {
- "description": "value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.",
- "format": "int32",
- "type": "integer"
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain capacity that device has.\n\nThis field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value."
}
},
"required": [
"value"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
- "version": "v1"
- }
- ]
+ "type": "object"
},
- "v1.PriorityClassList": {
- "description": "PriorityClassList is a collection of priority classes.",
+ "v1beta1.DeviceClaim": {
+ "description": "DeviceClaim defines how to request devices with a ResourceClaim.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "items": {
- "description": "items is the list of PriorityClasses",
+ "config": {
+ "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.",
"items": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1beta1.DeviceClaimConfiguration"
},
- "type": "array"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
+ "constraints": {
+ "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceConstraint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "requests": {
+ "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "items"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClassList",
- "version": "v1"
+ "type": "object"
+ },
+ "v1beta1.DeviceClaimConfiguration": {
+ "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.",
+ "properties": {
+ "opaque": {
+ "$ref": "#/definitions/v1beta1.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
+ },
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
- ]
+ },
+ "type": "object"
},
- "v1.CSIDriver": {
- "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.",
+ "v1beta1.DeviceClass": {
+ "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -16064,11 +17014,11 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1.CSIDriverSpec",
- "description": "spec represents the specification of the CSI Driver."
+ "$ref": "#/definitions/v1beta1.DeviceClassSpec",
+ "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
"required": [
@@ -16077,23 +17027,33 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "CSIDriver",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
}
]
},
- "v1.CSIDriverList": {
- "description": "CSIDriverList is a collection of CSIDriver objects.",
+ "v1beta1.DeviceClassConfiguration": {
+ "description": "DeviceClassConfiguration is used in DeviceClass.",
+ "properties": {
+ "opaque": {
+ "$ref": "#/definitions/v1beta1.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.DeviceClassList": {
+ "description": "DeviceClassList is a collection of classes.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items is the list of CSIDriver",
+ "description": "Items is the list of resource classes.",
"items": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
},
"type": "array"
},
@@ -16103,7 +17063,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -16112,109 +17072,252 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "CSIDriverList",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceClassList",
+ "version": "v1beta1"
}
]
},
- "v1.CSIDriverSpec": {
- "description": "CSIDriverSpec is the specification of a CSIDriver.",
+ "v1beta1.DeviceClassSpec": {
+ "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.",
"properties": {
- "attachRequired": {
- "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.",
- "type": "boolean"
+ "config": {
+ "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceClassConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "fsGroupPolicy": {
- "description": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
+ "extendedResourceName": {
+ "description": "ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked.\n\nThis is an alpha field.",
"type": "string"
},
- "podInfoOnMount": {
- "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.",
- "type": "boolean"
+ "selectors": {
+ "description": "Each selector must be satisfied by a device which is claimed via this class.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.DeviceConstraint": {
+ "description": "DeviceConstraint must have exactly one field set besides Requests.",
+ "properties": {
+ "distinctAttribute": {
+ "description": "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices.\n\nThis acts as the inverse of MatchAttribute.\n\nThis constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation.\n\nThis is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs.",
+ "type": "string"
},
- "requiresRepublish": {
- "description": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
- "type": "boolean"
+ "matchAttribute": {
+ "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.",
+ "type": "string"
},
- "seLinuxMount": {
- "description": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
- "type": "boolean"
+ "requests": {
+ "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the constraint applies to all subrequests.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.DeviceCounterConsumption": {
+ "description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.",
+ "properties": {
+ "counterSet": {
+ "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
+ "type": "string"
},
- "storageCapacity": {
- "description": "storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable.",
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta1.Counter"
+ },
+ "description": "Counters defines the counters that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
+ "type": "object"
+ }
+ },
+ "required": [
+ "counterSet",
+ "counters"
+ ],
+ "type": "object"
+ },
+ "v1beta1.DeviceRequest": {
+ "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices.",
+ "properties": {
+ "adminAccess": {
+ "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
"type": "boolean"
},
- "tokenRequests": {
- "description": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "type": "string"
+ },
+ "capacity": {
+ "$ref": "#/definitions/v1beta1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA class is required if no subrequests are specified in the firstAvailable list and no class can be set if subrequests are specified in the firstAvailable list. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
+ },
+ "firstAvailable": {
+ "description": "FirstAvailable contains subrequests, of which exactly one will be satisfied by the scheduler to satisfy this request. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one cannot be used.\n\nThis field may only be set in the entries of DeviceClaim.Requests.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
"items": {
- "$ref": "#/definitions/storage.v1.TokenRequest"
+ "$ref": "#/definitions/v1beta1.DeviceSubRequest"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "volumeLifecycleModes": {
- "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.\n\nThe other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.\n\nFor more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.\n\nThis field is beta. This field is immutable.",
+ "name": {
+ "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nMust be a DNS label and unique among all DeviceRequests in a ResourceClaim.",
+ "type": "string"
+ },
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta1.DeviceSelector"
},
"type": "array",
- "x-kubernetes-list-type": "set"
+ "x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis field can only be set when deviceClassName is set and no subrequests are specified in the firstAvailable list.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
+ "required": [
+ "name"
+ ],
"type": "object"
},
- "v1.CSINode": {
- "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.",
+ "v1beta1.DeviceRequestAllocationResult": {
+ "description": "DeviceRequestAllocationResult contains the allocation result for one request.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "adminAccess": {
+ "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "type": "boolean"
+ },
+ "bindingConditions": {
+ "description": "BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "consumedCapacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device\u2019s requestPolicy if applicable (i.e., may not be less than the requested amount).\n\nThe total consumed capacity for each device must not exceed the DeviceCapacity's Value.\n\nThis field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.",
+ "type": "object"
+ },
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
"type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. metadata.name must be the Kubernetes node name."
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
+ "type": "string"
},
- "spec": {
- "$ref": "#/definitions/v1.CSINodeSpec",
- "description": "spec is the specification of CSINode"
+ "request": {
+ "description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
+ "type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device.",
+ "type": "string"
+ },
+ "tolerations": {
+ "description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceToleration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "spec"
+ "request",
+ "driver",
+ "pool",
+ "device"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "CSINode",
- "version": "v1"
+ "type": "object"
+ },
+ "v1beta1.DeviceSelector": {
+ "description": "DeviceSelector must have exactly one field set.",
+ "properties": {
+ "cel": {
+ "$ref": "#/definitions/v1beta1.CELDeviceSelector",
+ "description": "CEL contains a CEL expression for selecting a device."
}
- ]
+ },
+ "type": "object"
},
- "v1.CSINodeDriver": {
- "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node",
+ "v1beta1.DeviceSubRequest": {
+ "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to Request, but doesn't expose the AdminAccess or FirstAvailable fields, as those can only be set on the top-level request. AdminAccess is not supported for requests with a prioritized list, and recursive FirstAvailable fields are not supported.",
"properties": {
- "allocatable": {
- "$ref": "#/definitions/v1.VolumeNodeResources",
- "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "type": "string"
},
- "name": {
- "description": "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
+ "capacity": {
+ "$ref": "#/definitions/v1beta1.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
+ },
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
"type": "string"
},
- "nodeID": {
- "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.",
+ "name": {
+ "description": "Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format /.\n\nMust be a DNS label.",
"type": "string"
},
- "topologyKeys": {
- "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.",
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta1.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.DeviceToleration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
@@ -16222,122 +17325,178 @@
},
"required": [
"name",
- "nodeID"
+ "deviceClassName"
],
"type": "object"
},
- "v1.CSINodeList": {
- "description": "CSINodeList is a collection of CSINode objects.",
+ "v1beta1.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
"type": "string"
},
- "items": {
- "description": "items is the list of CSINode",
- "items": {
- "$ref": "#/definitions/v1.CSINode"
- },
- "type": "array"
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
+ "type": "string"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
}
},
"required": [
- "items"
+ "key",
+ "effect"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "CSINodeList",
- "version": "v1"
+ "type": "object"
+ },
+ "v1beta1.DeviceToleration": {
+ "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
+ "properties": {
+ "effect": {
+ "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.",
+ "type": "string"
+ },
+ "tolerationSeconds": {
+ "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
+ "format": "int64",
+ "type": "integer"
+ },
+ "value": {
+ "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
+ "type": "string"
}
- ]
+ },
+ "type": "object"
},
- "v1.CSINodeSpec": {
- "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node",
+ "v1beta1.NetworkDeviceData": {
+ "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
"properties": {
- "drivers": {
- "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.",
+ "hardwareAddress": {
+ "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.",
+ "type": "string"
+ },
+ "interfaceName": {
+ "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.",
+ "type": "string"
+ },
+ "ips": {
+ "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.\n\nMust not contain more than 16 entries.",
"items": {
- "$ref": "#/definitions/v1.CSINodeDriver"
+ "type": "string"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "name"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "name",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.OpaqueDeviceConfiguration": {
+ "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.",
+ "properties": {
+ "driver": {
+ "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
+ "type": "string"
+ },
+ "parameters": {
+ "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
+ "type": "object"
}
},
"required": [
- "drivers"
+ "driver",
+ "parameters"
],
"type": "object"
},
- "v1.CSIStorageCapacity": {
- "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.",
+ "v1beta1.ResourceClaim": {
+ "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "capacity": {
- "$ref": "#/definitions/resource.Quantity",
- "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
- },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "maximumVolumeSize": {
- "$ref": "#/definitions/resource.Quantity",
- "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
- },
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object metadata"
},
- "nodeTopology": {
- "$ref": "#/definitions/v1.LabelSelector",
- "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
+ "spec": {
+ "$ref": "#/definitions/v1beta1.ResourceClaimSpec",
+ "description": "Spec describes what is being requested and how to configure it. The spec is immutable."
},
- "storageClassName": {
- "description": "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
- "type": "string"
+ "status": {
+ "$ref": "#/definitions/v1beta1.ResourceClaimStatus",
+ "description": "Status describes whether the claim is ready to use and what has been allocated."
}
},
"required": [
- "storageClassName"
+ "spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
}
]
},
- "v1.CSIStorageCapacityList": {
- "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.",
+ "v1beta1.ResourceClaimConsumerReference": {
+ "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.",
+ "properties": {
+ "apiGroup": {
+ "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name is the name of resource being referenced.",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource is the type of resource being referenced, for example \"pods\".",
+ "type": "string"
+ },
+ "uid": {
+ "description": "UID identifies exactly one incarnation of the resource.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "resource",
+ "name",
+ "uid"
+ ],
+ "type": "object"
+ },
+ "v1beta1.ResourceClaimList": {
+ "description": "ResourceClaimList is a collection of claims.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items is the list of CSIStorageCapacity objects.",
+ "description": "Items is the list of resource claims.",
"items": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
},
"type": "array"
},
@@ -16347,7 +17506,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -16356,27 +17515,62 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "CSIStorageCapacityList",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimList",
+ "version": "v1beta1"
}
]
},
- "v1.StorageClass": {
- "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.",
+ "v1beta1.ResourceClaimSpec": {
+ "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.",
"properties": {
- "allowVolumeExpansion": {
- "description": "allowVolumeExpansion shows whether the storage class allow volume expand.",
- "type": "boolean"
+ "devices": {
+ "$ref": "#/definitions/v1beta1.DeviceClaim",
+ "description": "Devices defines how to request devices."
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.ResourceClaimStatus": {
+ "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.",
+ "properties": {
+ "allocation": {
+ "$ref": "#/definitions/v1beta1.AllocationResult",
+ "description": "Allocation is set once the claim has been allocated successfully."
},
- "allowedTopologies": {
- "description": "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
+ "devices": {
+ "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.",
"items": {
- "$ref": "#/definitions/v1.TopologySelectorTerm"
+ "$ref": "#/definitions/v1beta1.AllocatedDeviceStatus"
},
"type": "array",
- "x-kubernetes-list-type": "atomic"
+ "x-kubernetes-list-map-keys": [
+ "driver",
+ "device",
+ "pool",
+ "shareID"
+ ],
+ "x-kubernetes-list-type": "map"
},
+ "reservedFor": {
+ "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 256 such reservations. This may get increased in the future, but not reduced.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.ResourceClaimConsumerReference"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "uid"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "uid",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta1.ResourceClaimTemplate": {
+ "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
+ "properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
@@ -16387,59 +17581,36 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
- },
- "mountOptions": {
- "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "parameters": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class.",
- "type": "object"
- },
- "provisioner": {
- "description": "provisioner indicates the type of the provisioner.",
- "type": "string"
- },
- "reclaimPolicy": {
- "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.",
- "type": "string"
+ "description": "Standard object metadata"
},
- "volumeBindingMode": {
- "description": "volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
- "type": "string"
+ "spec": {
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplateSpec",
+ "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore."
}
},
"required": [
- "provisioner"
+ "spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "StorageClass",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
}
]
},
- "v1.StorageClassList": {
- "description": "StorageClassList is a collection of storage classes.",
+ "v1beta1.ResourceClaimTemplateList": {
+ "description": "ResourceClaimTemplateList is a collection of claim templates.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items is the list of StorageClasses",
+ "description": "Items is the list of resource claim templates.",
"items": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
},
"type": "array"
},
@@ -16449,7 +17620,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -16458,32 +17629,56 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "StorageClassList",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplateList",
+ "version": "v1beta1"
}
]
},
- "storage.v1.TokenRequest": {
- "description": "TokenRequest contains parameters of a service account token.",
+ "v1beta1.ResourceClaimTemplateSpec": {
+ "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.",
"properties": {
- "audience": {
- "description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation."
+ },
+ "spec": {
+ "$ref": "#/definitions/v1beta1.ResourceClaimSpec",
+ "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object"
+ },
+ "v1beta1.ResourcePool": {
+ "description": "ResourcePool describes the pool that ResourceSlices belong to.",
+ "properties": {
+ "generation": {
+ "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.",
"type": "string"
},
- "expirationSeconds": {
- "description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
+ "resourceSliceCount": {
+ "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.",
"format": "int64",
"type": "integer"
}
},
"required": [
- "audience"
+ "name",
+ "generation",
+ "resourceSliceCount"
],
"type": "object"
},
- "v1.VolumeAttachment": {
- "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.",
+ "v1beta1.ResourceSlice": {
+ "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -16495,15 +17690,11 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1.VolumeAttachmentSpec",
- "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
- },
- "status": {
- "$ref": "#/definitions/v1.VolumeAttachmentStatus",
- "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
+ "$ref": "#/definitions/v1beta1.ResourceSliceSpec",
+ "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
"required": [
@@ -16512,23 +17703,23 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "VolumeAttachment",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
}
]
},
- "v1.VolumeAttachmentList": {
- "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.",
+ "v1beta1.ResourceSliceList": {
+ "description": "ResourceSliceList is a collection of ResourceSlices.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items is the list of VolumeAttachments",
+ "description": "Items is the list of resource ResourceSlices.",
"items": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
},
"type": "array"
},
@@ -16538,7 +17729,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -16547,395 +17738,446 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "storage.k8s.io",
- "kind": "VolumeAttachmentList",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSliceList",
+ "version": "v1beta1"
}
]
},
- "v1.VolumeAttachmentSource": {
- "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.",
+ "v1beta1.ResourceSliceSpec": {
+ "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.",
"properties": {
- "inlineVolumeSpec": {
- "$ref": "#/definitions/v1.PersistentVolumeSpec",
- "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
},
- "persistentVolumeName": {
- "description": "persistentVolumeName represents the name of the persistent volume to attach.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "v1.VolumeAttachmentSpec": {
- "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
- "properties": {
- "attacher": {
- "description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
+ "devices": {
+ "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.Device"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "driver": {
+ "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.",
"type": "string"
},
"nodeName": {
- "description": "nodeName represents the node that the volume should be attached to.",
+ "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.",
"type": "string"
},
- "source": {
- "$ref": "#/definitions/v1.VolumeAttachmentSource",
- "description": "source represents the volume that should be attached."
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set."
+ },
+ "perDeviceNodeSelection": {
+ "description": "PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
+ },
+ "pool": {
+ "$ref": "#/definitions/v1beta1.ResourcePool",
+ "description": "Pool describes the pool that this ResourceSlice belongs to."
+ },
+ "sharedCounters": {
+ "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of SharedCounters is 32.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.CounterSet"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "attacher",
- "source",
- "nodeName"
+ "driver",
+ "pool"
],
"type": "object"
},
- "v1.VolumeAttachmentStatus": {
- "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
+ "v1beta2.AllocatedDeviceStatus": {
+ "description": "AllocatedDeviceStatus contains the status of an allocated device, if the driver chooses to report it. This may include driver-specific information.\n\nThe combination of Driver, Pool, Device, and ShareID must match the corresponding key in Status.Allocation.Devices.",
"properties": {
- "attachError": {
- "$ref": "#/definitions/v1.VolumeError",
- "description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
- },
- "attached": {
- "description": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
- "type": "boolean"
- },
- "attachmentMetadata": {
- "additionalProperties": {
- "type": "string"
+ "conditions": {
+ "description": "Conditions contains the latest observation of the device's state. If the device has been configured according to the class and claim config references, the `Ready` condition should be True.\n\nMust not contain more than 8 entries.",
+ "items": {
+ "$ref": "#/definitions/v1.Condition"
},
- "description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map"
+ },
+ "data": {
+ "description": "Data contains arbitrary driver-specific data.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
"type": "object"
},
- "detachError": {
- "$ref": "#/definitions/v1.VolumeError",
- "description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
+ "type": "string"
+ },
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
+ "type": "string"
+ },
+ "networkData": {
+ "$ref": "#/definitions/v1beta2.NetworkDeviceData",
+ "description": "NetworkData contains network-related information specific to the device."
+ },
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
+ "type": "string"
+ },
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device.",
+ "type": "string"
}
},
"required": [
- "attached"
+ "driver",
+ "pool",
+ "device"
],
"type": "object"
},
- "v1.VolumeError": {
- "description": "VolumeError captures an error encountered during a volume operation.",
+ "v1beta2.AllocationResult": {
+ "description": "AllocationResult contains attributes of an allocated resource.",
"properties": {
- "message": {
- "description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
- "type": "string"
- },
- "time": {
- "description": "time represents the time the error was encountered.",
+ "allocationTimestamp": {
+ "description": "AllocationTimestamp stores the time when the resources were allocated. This field is not guaranteed to be set, in which case that time is unknown.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gate.",
"format": "date-time",
"type": "string"
+ },
+ "devices": {
+ "$ref": "#/definitions/v1beta2.DeviceAllocationResult",
+ "description": "Devices is the result of allocating devices."
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines where the allocated resources are available. If unset, they are available everywhere."
}
},
"type": "object"
},
- "v1.VolumeNodeResources": {
- "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.",
+ "v1beta2.CELDeviceSelector": {
+ "description": "CELDeviceSelector contains a CEL expression for selecting a device.",
"properties": {
- "count": {
- "description": "count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
- "format": "int32",
- "type": "integer"
+ "expression": {
+ "description": "Expression is a CEL expression which evaluates a single device. It must evaluate to true when the device under consideration satisfies the desired criteria, and false when it does not. Any other result is an error and causes allocation of devices to abort.\n\nThe expression's input is an object named \"device\", which carries the following properties:\n - driver (string): the name of the driver which defines this device.\n - attributes (map[string]object): the device's attributes, grouped by prefix\n (e.g. device.attributes[\"dra.example.com\"] evaluates to an object with all\n of the attributes which were prefixed by \"dra.example.com\".\n - capacity (map[string]object): the device's capacities, grouped by prefix.\n - allowMultipleAllocations (bool): the allowMultipleAllocations property of the device\n (v1.34+ with the DRAConsumableCapacity feature enabled).\n\nExample: Consider a device with driver=\"dra.example.com\", which exposes two attributes named \"model\" and \"ext.example.com/family\" and which exposes one capacity named \"modules\". This input to this expression would have the following fields:\n\n device.driver\n device.attributes[\"dra.example.com\"].model\n device.attributes[\"ext.example.com\"].family\n device.capacity[\"dra.example.com\"].modules\n\nThe device.driver field can be used to check for a specific driver, either as a high-level precondition (i.e. you only want to consider devices from this driver) or as part of a multi-clause expression that is meant to consider devices from different drivers.\n\nThe value type of each attribute is defined by the device definition, and users who write these expressions must consult the documentation for their specific drivers. The value type of each capacity is Quantity.\n\nIf an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.\n\nA robust expression should check for the existence of attributes before referencing them.\n\nFor ease of use, the cel.bind() function is enabled, and can be used to simplify expressions that access multiple attributes with the same domain. For example:\n\n cel.bind(dra, device.attributes[\"dra.example.com\"], dra.someBool && dra.anotherBool)\n\nThe length of the expression must be smaller or equal to 10 Ki. The cost of evaluating it is also limited based on the estimated number of logical steps.",
+ "type": "string"
}
},
+ "required": [
+ "expression"
+ ],
"type": "object"
},
- "v1alpha1.VolumeAttributesClass": {
- "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
+ "v1beta2.CapacityRequestPolicy": {
+ "description": "CapacityRequestPolicy defines how requests consume device capacity.\n\nMust not set more than one ValidRequestValues.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "driverName": {
- "description": "Name of the CSI driver This field is immutable.",
- "type": "string"
- },
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
+ "default": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Default specifies how much of this capacity is consumed by a request that does not contain an entry for it in DeviceRequest's Capacity."
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "validRange": {
+ "$ref": "#/definitions/v1beta2.CapacityRequestPolicyRange",
+ "description": "ValidRange defines an acceptable quantity value range in consuming requests.\n\nIf this field is set, Default must be defined and it must fall within the defined ValidRange.\n\nIf the requested amount does not fall within the defined range, the request violates the policy, and this device cannot be allocated.\n\nIf the request doesn't contain this capacity entry, Default value is used."
},
- "parameters": {
- "additionalProperties": {
- "type": "string"
+ "validValues": {
+ "description": "ValidValues defines a set of acceptable quantity values in consuming requests.\n\nMust not contain more than 10 entries. Must be sorted in ascending order.\n\nIf this field is set, Default must be defined and it must be included in ValidValues list.\n\nIf the requested amount does not match any valid value but smaller than some valid values, the scheduler calculates the smallest valid value that is greater than or equal to the request. That is: min(ceil(requestedValue) \u2208 validValues), where requestedValue \u2264 max(validValues).\n\nIf the requested amount exceeds all valid values, the request violates the policy, and this device cannot be allocated.",
+ "items": {
+ "$ref": "#/definitions/resource.Quantity"
},
- "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
- "type": "object"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "driverName"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "VolumeAttributesClass",
- "version": "v1alpha1"
- }
- ]
+ "type": "object"
},
- "v1alpha1.VolumeAttributesClassList": {
- "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
+ "v1beta2.CapacityRequestPolicyRange": {
+ "description": "CapacityRequestPolicyRange defines a valid range for consumable capacity values.\n\n - If the requested amount is less than Min, it is rounded up to the Min value.\n - If Step is set and the requested amount is between Min and Max but not aligned with Step,\n it will be rounded up to the next value equal to Min + (n * Step).\n - If Step is not set, the requested amount is used as-is if it falls within the range Min to Max (if set).\n - If the requested or rounded amount exceeds Max (if set), the request does not satisfy the policy,\n and the device cannot be allocated.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
- },
- "items": {
- "description": "items is the list of VolumeAttributesClass objects.",
- "items": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
- },
- "type": "array"
+ "max": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Max defines the upper limit for capacity that can be requested.\n\nMax must be less than or equal to the capacity value. Min and requestPolicy.default must be less than or equal to the maximum."
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
+ "min": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Min specifies the minimum capacity allowed for a consumption request.\n\nMin must be greater than or equal to zero, and less than or equal to the capacity value. requestPolicy.default must be more than or equal to the minimum."
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "step": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Step defines the step size between valid capacity amounts within the range.\n\nMax (if set) and requestPolicy.default must be a multiple of Step. Min + Step must be less than or equal to the capacity value."
}
},
"required": [
- "items"
+ "min"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storage.k8s.io",
- "kind": "VolumeAttributesClassList",
- "version": "v1alpha1"
+ "type": "object"
+ },
+ "v1beta2.CapacityRequirements": {
+ "description": "CapacityRequirements defines the capacity requirements for a specific device request.",
+ "properties": {
+ "requests": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
+ },
+ "description": "Requests represent individual device resource requests for distinct resources, all of which must be provided by the device.\n\nThis value is used as an additional filtering condition against the available capacity on the device. This is semantically equivalent to a CEL selector with `device.capacity[]..compareTo(quantity()) >= 0`. For example, device.capacity['test-driver.cdi.k8s.io'].counters.compareTo(quantity('2')) >= 0.\n\nWhen a requestPolicy is defined, the requested amount is adjusted upward to the nearest valid value based on the policy. If the requested amount cannot be adjusted to a valid value\u2014because it exceeds what the requestPolicy allows\u2014 the device is considered ineligible for allocation.\n\nFor any capacity that is not explicitly requested: - If no requestPolicy is set, the default consumed capacity is equal to the full device capacity\n (i.e., the whole device is claimed).\n- If a requestPolicy is set, the default consumed capacity is determined according to that policy.\n\nIf the device allows multiple allocation, the aggregated amount across all requests must not exceed the capacity value. The consumed capacity, which may be adjusted based on the requestPolicy if defined, is recorded in the resource claim\u2019s status.devices[*].consumedCapacity field.",
+ "type": "object"
}
- ]
+ },
+ "type": "object"
},
- "v1alpha1.GroupVersionResource": {
- "description": "The names of the group, the version, and the resource.",
+ "v1beta2.Counter": {
+ "description": "Counter describes a quantity associated with a device.",
"properties": {
- "group": {
- "description": "The name of the group.",
- "type": "string"
- },
- "resource": {
- "description": "The name of the resource.",
- "type": "string"
- },
- "version": {
- "description": "The name of the version.",
- "type": "string"
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain device counter is available."
}
},
+ "required": [
+ "value"
+ ],
"type": "object"
},
- "v1alpha1.MigrationCondition": {
- "description": "Describes the state of a migration at a certain point.",
+ "v1beta2.CounterSet": {
+ "description": "CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice.\n\nThe counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.",
"properties": {
- "lastUpdateTime": {
- "description": "The last time this condition was updated.",
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "description": "A human readable message indicating details about the transition.",
- "type": "string"
- },
- "reason": {
- "description": "The reason for the condition's last transition.",
- "type": "string"
- },
- "status": {
- "description": "Status of the condition, one of True, False, Unknown.",
- "type": "string"
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.Counter"
+ },
+ "description": "Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.\n\nThe maximum number of counters in all sets is 32.",
+ "type": "object"
},
- "type": {
- "description": "Type of the condition.",
+ "name": {
+ "description": "Name defines the name of the counter set. It must be a DNS label.",
"type": "string"
}
},
"required": [
- "type",
- "status"
+ "name",
+ "counters"
],
"type": "object"
},
- "v1alpha1.StorageVersionMigration": {
- "description": "StorageVersionMigration represents a migration of stored data to the latest storage version.",
+ "v1beta2.Device": {
+ "description": "Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the device.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "boolean"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
+ "allowMultipleAllocations": {
+ "description": "AllowMultipleAllocations marks whether the device is allowed to be allocated to multiple DeviceRequests.\n\nIf AllowMultipleAllocations is set to true, the device can be allocated more than once, and all of its capacity is consumable, regardless of whether the requestPolicy is defined or not.",
+ "type": "boolean"
},
- "metadata": {
- "$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "attributes": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.DeviceAttribute"
+ },
+ "description": "Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
},
- "spec": {
- "$ref": "#/definitions/v1alpha1.StorageVersionMigrationSpec",
- "description": "Specification of the migration."
+ "bindingConditions": {
+ "description": "BindingConditions defines the conditions for proceeding with binding. All of these conditions must be set in the per-device status conditions with a value of True to proceed with binding the pod to the node while scheduling the pod.\n\nThe maximum number of binding conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "status": {
- "$ref": "#/definitions/v1alpha1.StorageVersionMigrationStatus",
- "description": "Status of the migration."
- }
- },
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storagemigration.k8s.io",
- "kind": "StorageVersionMigration",
- "version": "v1alpha1"
- }
- ]
- },
- "v1alpha1.StorageVersionMigrationList": {
- "description": "StorageVersionMigrationList is a collection of storage version migrations.",
- "properties": {
- "apiVersion": {
- "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
- "type": "string"
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions defines the conditions for binding failure. They may be set in the per-device status conditions. If any is set to \"True\", a binding failure occurred.\n\nThe maximum number of binding failure conditions is 4.\n\nThe conditions must be a valid condition type string.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "items": {
- "description": "Items is the list of StorageVersionMigration",
+ "bindsToNode": {
+ "description": "BindsToNode indicates if the usage of an allocation involving this device has to be limited to exactly the node that was chosen when allocating the claim. If set to true, the scheduler will set the ResourceClaim.Status.Allocation.NodeSelector to match the node where the allocation was made.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
+ "type": "boolean"
+ },
+ "capacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.DeviceCapacity"
+ },
+ "description": "Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set.\n\nThe maximum number of attributes and capacities combined is 32.",
+ "type": "object"
+ },
+ "consumesCounters": {
+ "description": "ConsumesCounters defines a list of references to sharedCounters and the set of counters that the device will consume from those counter sets.\n\nThere can only be a single entry per counterSet.\n\nThe total number of device counter consumption entries must be <= 32. In addition, the total number in the entire ResourceSlice must be <= 1024 (for example, 64 devices with 16 counters each).",
"items": {
- "$ref": "#/definitions/v1alpha1.StorageVersionMigration"
+ "$ref": "#/definitions/v1beta2.DeviceCounterConsumption"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
},
- "kind": {
- "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "name": {
+ "description": "Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.",
"type": "string"
},
- "metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "nodeName": {
+ "description": "NodeName identifies the node where the device is available.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set.",
+ "type": "string"
+ },
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines the nodes where the device is available.\n\nMust use exactly one term.\n\nMust only be set if Spec.PerDeviceNodeSelection is set to true. At most one of NodeName, NodeSelector and AllNodes can be set."
+ },
+ "taints": {
+ "description": "If specified, these are the driver-defined taints.\n\nThe maximum number of taints is 4.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceTaint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "items"
+ "name"
],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "storagemigration.k8s.io",
- "kind": "StorageVersionMigrationList",
- "version": "v1alpha1"
- }
- ]
+ "type": "object"
},
- "v1alpha1.StorageVersionMigrationSpec": {
- "description": "Spec of the storage version migration.",
+ "v1beta2.DeviceAllocationConfiguration": {
+ "description": "DeviceAllocationConfiguration gets embedded in an AllocationResult.",
"properties": {
- "continueToken": {
- "description": "The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.",
- "type": "string"
+ "opaque": {
+ "$ref": "#/definitions/v1beta2.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
},
- "resource": {
- "$ref": "#/definitions/v1alpha1.GroupVersionResource",
- "description": "The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable."
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, its applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "source": {
+ "description": "Source records whether the configuration comes from a class and thus is not something that a normal user would have been able to set or from a claim.",
+ "type": "string"
}
},
"required": [
- "resource"
+ "source"
],
"type": "object"
},
- "v1alpha1.StorageVersionMigrationStatus": {
- "description": "Status of the storage version migration.",
+ "v1beta2.DeviceAllocationResult": {
+ "description": "DeviceAllocationResult is the result of allocating devices.",
"properties": {
- "conditions": {
- "description": "The latest available observations of the migration's current state.",
+ "config": {
+ "description": "This field is a combination of all the claim and class configuration parameters. Drivers can distinguish between those based on a flag.\n\nThis includes configuration parameters for drivers which have no allocated devices in the result because it is up to the drivers which configuration parameters they support. They can silently ignore unknown configuration parameters.",
"items": {
- "$ref": "#/definitions/v1alpha1.MigrationCondition"
+ "$ref": "#/definitions/v1beta2.DeviceAllocationConfiguration"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "atomic"
},
- "resourceVersion": {
- "description": "ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.",
- "type": "string"
+ "results": {
+ "description": "Results lists all allocated devices.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceRequestAllocationResult"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "v1.CustomResourceColumnDefinition": {
- "description": "CustomResourceColumnDefinition specifies a column for server side printing.",
+ "v1beta2.DeviceAttribute": {
+ "description": "DeviceAttribute must have exactly one field set.",
"properties": {
- "description": {
- "description": "description is a human readable description of this column.",
- "type": "string"
+ "bool": {
+ "description": "BoolValue is a true/false value.",
+ "type": "boolean"
},
- "format": {
- "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
- "type": "string"
+ "int": {
+ "description": "IntValue is a number.",
+ "format": "int64",
+ "type": "integer"
},
- "jsonPath": {
- "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.",
+ "string": {
+ "description": "StringValue is a string. Must not be longer than 64 characters.",
"type": "string"
},
- "name": {
- "description": "name is a human readable name for the column.",
+ "version": {
+ "description": "VersionValue is a semantic version according to semver.org spec 2.0.0. Must not be longer than 64 characters.",
"type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.DeviceCapacity": {
+ "description": "DeviceCapacity describes a quantity associated with a device.",
+ "properties": {
+ "requestPolicy": {
+ "$ref": "#/definitions/v1beta2.CapacityRequestPolicy",
+ "description": "RequestPolicy defines how this DeviceCapacity must be consumed when the device is allowed to be shared by multiple allocations.\n\nThe Device must have allowMultipleAllocations set to true in order to set a requestPolicy.\n\nIf unset, capacity requests are unconstrained: requests can consume any amount of capacity, as long as the total consumed across all allocations does not exceed the device's defined capacity. If request is also unset, default is the full capacity value."
},
- "priority": {
- "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.",
- "format": "int32",
- "type": "integer"
- },
- "type": {
- "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
- "type": "string"
+ "value": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "Value defines how much of a certain capacity that device has.\n\nThis field reflects the fixed total capacity and does not change. The consumed amount is tracked separately by scheduler and does not affect this value."
}
},
"required": [
- "name",
- "type",
- "jsonPath"
+ "value"
],
"type": "object"
},
- "v1.CustomResourceConversion": {
- "description": "CustomResourceConversion describes how to convert different versions of a CR.",
+ "v1beta2.DeviceClaim": {
+ "description": "DeviceClaim defines how to request devices with a ResourceClaim.",
"properties": {
- "strategy": {
- "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.",
- "type": "string"
+ "config": {
+ "description": "This field holds configuration for multiple potential drivers which could satisfy requests in this claim. It is ignored while allocating the claim.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceClaimConfiguration"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "webhook": {
- "$ref": "#/definitions/v1.WebhookConversion",
- "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `\"Webhook\"`."
+ "constraints": {
+ "description": "These constraints must be satisfied by the set of devices that get allocated for the claim.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceConstraint"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "requests": {
+ "description": "Requests represent individual requests for distinct devices which must all be satisfied. If empty, nothing needs to be allocated.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
- "required": [
- "strategy"
- ],
"type": "object"
},
- "v1.CustomResourceDefinition": {
- "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.",
+ "v1beta2.DeviceClaimConfiguration": {
+ "description": "DeviceClaimConfiguration is used for configuration parameters in DeviceClaim.",
+ "properties": {
+ "opaque": {
+ "$ref": "#/definitions/v1beta2.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
+ },
+ "requests": {
+ "description": "Requests lists the names of requests where the configuration applies. If empty, it applies to all requests.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the configuration applies to all subrequests.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.DeviceClass": {
+ "description": "DeviceClass is a vendor- or admin-provided resource that contains device configuration and selectors. It can be referenced in the device requests of a claim to apply these presets. Cluster scoped.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -16947,15 +18189,11 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object metadata"
},
"spec": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionSpec",
- "description": "spec describes how the user wants the resources to appear"
- },
- "status": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionStatus",
- "description": "status indicates the actual state of the CustomResourceDefinition"
+ "$ref": "#/definitions/v1beta2.DeviceClassSpec",
+ "description": "Spec defines what can be allocated and how to configure it.\n\nThis is mutable. Consumers have to be prepared for classes changing at any time, either because they get updated or replaced. Claim allocations are done once based on whatever was set in classes at the time of allocation.\n\nChanging the spec automatically increments the metadata.generation number."
}
},
"required": [
@@ -16964,54 +18202,33 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta2"
}
]
},
- "v1.CustomResourceDefinitionCondition": {
- "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.",
+ "v1beta2.DeviceClassConfiguration": {
+ "description": "DeviceClassConfiguration is used in DeviceClass.",
"properties": {
- "lastTransitionTime": {
- "description": "lastTransitionTime last time the condition transitioned from one status to another.",
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "description": "message is a human-readable message indicating details about last transition.",
- "type": "string"
- },
- "reason": {
- "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.",
- "type": "string"
- },
- "status": {
- "description": "status is the status of the condition. Can be True, False, Unknown.",
- "type": "string"
- },
- "type": {
- "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.",
- "type": "string"
+ "opaque": {
+ "$ref": "#/definitions/v1beta2.OpaqueDeviceConfiguration",
+ "description": "Opaque provides driver-specific configuration parameters."
}
},
- "required": [
- "type",
- "status"
- ],
"type": "object"
},
- "v1.CustomResourceDefinitionList": {
- "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.",
+ "v1beta2.DeviceClassList": {
+ "description": "DeviceClassList is a collection of classes.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "items list individual CustomResourceDefinition objects",
+ "description": "Items is the list of resource classes.",
"items": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
},
"type": "array"
},
@@ -17021,7 +18238,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard list metadata"
}
},
"required": [
@@ -17030,567 +18247,517 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinitionList",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "DeviceClassList",
+ "version": "v1beta2"
}
]
},
- "v1.CustomResourceDefinitionNames": {
- "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition",
+ "v1beta2.DeviceClassSpec": {
+ "description": "DeviceClassSpec is used in a [DeviceClass] to define what can be allocated and how to configure it.",
"properties": {
- "categories": {
- "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.",
+ "config": {
+ "description": "Config defines configuration parameters that apply to each device that is claimed via this class. Some classses may potentially be satisfied by multiple drivers, so each instance of a vendor configuration applies to exactly one driver.\n\nThey are passed to the driver, but are not considered while allocating the claim.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta2.DeviceClassConfiguration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "kind": {
- "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.",
+ "extendedResourceName": {
+ "description": "ExtendedResourceName is the extended resource name for the devices of this class. The devices of this class can be used to satisfy a pod's extended resource requests. It has the same format as the name of a pod's extended resource. It should be unique among all the device classes in a cluster. If two device classes have the same name, then the class created later is picked to satisfy a pod's extended resource requests. If two classes are created at the same time, then the name of the class lexicographically sorted first is picked.\n\nThis is an alpha field.",
"type": "string"
},
- "listKind": {
- "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".",
+ "selectors": {
+ "description": "Each selector must be satisfied by a device which is claimed via this class.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.DeviceSelector"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.DeviceConstraint": {
+ "description": "DeviceConstraint must have exactly one field set besides Requests.",
+ "properties": {
+ "distinctAttribute": {
+ "description": "DistinctAttribute requires that all devices in question have this attribute and that its type and value are unique across those devices.\n\nThis acts as the inverse of MatchAttribute.\n\nThis constraint is used to avoid allocating multiple requests to the same device by ensuring attribute-level differentiation.\n\nThis is useful for scenarios where resource requests must be fulfilled by separate physical devices. For example, a container requests two network interfaces that must be allocated from two different physical NICs.",
"type": "string"
},
- "plural": {
- "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.",
+ "matchAttribute": {
+ "description": "MatchAttribute requires that all devices in question have this attribute and that its type and value are the same across those devices.\n\nFor example, if you specified \"dra.example.com/numa\" (a hypothetical example!), then only devices in the same NUMA node will be chosen. A device which does not have that attribute will not be chosen. All devices should use a value of the same type for this attribute because that is part of its specification, but if one device doesn't, then it also will not be chosen.\n\nMust include the domain qualifier.",
"type": "string"
},
- "shortNames": {
- "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.",
+ "requests": {
+ "description": "Requests is a list of the one or more requests in this claim which must co-satisfy this constraint. If a request is fulfilled by multiple devices, then all of the devices must satisfy the constraint. If this is not specified, this constraint applies to all requests in this claim.\n\nReferences to subrequests must include the name of the main request and may include the subrequest using the format [/]. If just the main request is given, the constraint applies to all subrequests.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- },
- "singular": {
- "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.",
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.DeviceCounterConsumption": {
+ "description": "DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.",
+ "properties": {
+ "counterSet": {
+ "description": "CounterSet is the name of the set from which the counters defined will be consumed.",
"type": "string"
+ },
+ "counters": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1beta2.Counter"
+ },
+ "description": "Counters defines the counters that will be consumed by the device.\n\nThe maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).",
+ "type": "object"
}
},
"required": [
- "plural",
- "kind"
+ "counterSet",
+ "counters"
],
"type": "object"
},
- "v1.CustomResourceDefinitionSpec": {
- "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear",
+ "v1beta2.DeviceRequest": {
+ "description": "DeviceRequest is a request for devices required for a claim. This is typically a request for a single resource like a device, but can also ask for several identical devices. With FirstAvailable it is also possible to provide a prioritized list of requests.",
"properties": {
- "conversion": {
- "$ref": "#/definitions/v1.CustomResourceConversion",
- "description": "conversion defines conversion settings for the CRD."
- },
- "group": {
- "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).",
- "type": "string"
- },
- "names": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
- "description": "names specify the resource and kind names for the custom resource."
- },
- "preserveUnknownFields": {
- "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.",
- "type": "boolean"
+ "exactly": {
+ "$ref": "#/definitions/v1beta2.ExactDeviceRequest",
+ "description": "Exactly specifies the details for a single request that must be met exactly for the request to be satisfied.\n\nOne of Exactly or FirstAvailable must be set."
},
- "scope": {
- "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.",
- "type": "string"
- },
- "versions": {
- "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
+ "firstAvailable": {
+ "description": "FirstAvailable contains subrequests, of which exactly one will be selected by the scheduler. It tries to satisfy them in the order in which they are listed here. So if there are two entries in the list, the scheduler will only check the second one if it determines that the first one can not be used.\n\nDRA does not yet implement scoring, so the scheduler will select the first set of devices that satisfies all the requests in the claim. And if the requirements can be satisfied on more than one node, other scheduling features will determine which node is chosen. This means that the set of devices allocated to a claim might not be the optimal set available to the cluster. Scoring will be implemented later.",
"items": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionVersion"
+ "$ref": "#/definitions/v1beta2.DeviceSubRequest"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
+ },
+ "name": {
+ "description": "Name can be used to reference this request in a pod.spec.containers[].resources.claims entry and in a constraint of the claim.\n\nReferences using the name in the DeviceRequest will uniquely identify a request when the Exactly field is set. When the FirstAvailable field is set, a reference to the name of the DeviceRequest will match whatever subrequest is chosen by the scheduler.\n\nMust be a DNS label.",
+ "type": "string"
}
},
"required": [
- "group",
- "names",
- "scope",
- "versions"
+ "name"
],
"type": "object"
},
- "v1.CustomResourceDefinitionStatus": {
- "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition",
+ "v1beta2.DeviceRequestAllocationResult": {
+ "description": "DeviceRequestAllocationResult contains the allocation result for one request.",
"properties": {
- "acceptedNames": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
- "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."
+ "adminAccess": {
+ "description": "AdminAccess indicates that this device was allocated for administrative access. See the corresponding request field for a definition of mode.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "type": "boolean"
},
- "conditions": {
- "description": "conditions indicate state for particular aspects of a CustomResourceDefinition",
+ "bindingConditions": {
+ "description": "BindingConditions contains a copy of the BindingConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
"items": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionCondition"
+ "type": "string"
},
"type": "array",
- "x-kubernetes-list-map-keys": [
- "type"
- ],
- "x-kubernetes-list-type": "map"
+ "x-kubernetes-list-type": "atomic"
},
- "storedVersions": {
- "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.",
+ "bindingFailureConditions": {
+ "description": "BindingFailureConditions contains a copy of the BindingFailureConditions from the corresponding ResourceSlice at the time of allocation.\n\nThis is an alpha field and requires enabling the DRADeviceBindingConditions and DRAResourceClaimDeviceStatus feature gates.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- }
- },
- "type": "object"
- },
- "v1.CustomResourceDefinitionVersion": {
- "description": "CustomResourceDefinitionVersion describes a version for CRD.",
- "properties": {
- "additionalPrinterColumns": {
- "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.",
- "items": {
- "$ref": "#/definitions/v1.CustomResourceColumnDefinition"
+ },
+ "consumedCapacity": {
+ "additionalProperties": {
+ "$ref": "#/definitions/resource.Quantity"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "description": "ConsumedCapacity tracks the amount of capacity consumed per device as part of the claim request. The consumed amount may differ from the requested amount: it is rounded up to the nearest valid value based on the device\u2019s requestPolicy if applicable (i.e., may not be less than the requested amount).\n\nThe total consumed capacity for each device must not exceed the DeviceCapacity's Value.\n\nThis field is populated only for devices that allow multiple allocations. All capacity entries are included, even if the consumed amount is zero.",
+ "type": "object"
},
- "deprecated": {
- "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.",
- "type": "boolean"
+ "device": {
+ "description": "Device references one device instance via its name in the driver's resource pool. It must be a DNS label.",
+ "type": "string"
},
- "deprecationWarning": {
- "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.",
+ "driver": {
+ "description": "Driver specifies the name of the DRA driver whose kubelet plugin should be invoked to process the allocation once the claim is needed on a node.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
"type": "string"
},
- "name": {
- "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.",
+ "pool": {
+ "description": "This name together with the driver name and the device name field identify which device was allocated (`//`).\n\nMust not be longer than 253 characters and may contain one or more DNS sub-domains separated by slashes.",
"type": "string"
},
- "schema": {
- "$ref": "#/definitions/v1.CustomResourceValidation",
- "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
+ "request": {
+ "description": "Request is the name of the request in the claim which caused this device to be allocated. If it references a subrequest in the firstAvailable list on a DeviceRequest, this field must include both the name of the main request and the subrequest using the format /.\n\nMultiple devices may have been allocated per request.",
+ "type": "string"
},
- "selectableFields": {
- "description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
+ "shareID": {
+ "description": "ShareID uniquely identifies an individual allocation share of the device, used when the device supports multiple simultaneous allocations. It serves as an additional map key to differentiate concurrent shares of the same device.",
+ "type": "string"
+ },
+ "tolerations": {
+ "description": "A copy of all tolerations specified in the request at the time when the device got allocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
- "$ref": "#/definitions/v1.SelectableField"
+ "$ref": "#/definitions/v1beta2.DeviceToleration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- },
- "served": {
- "description": "served is a flag enabling/disabling this version from being served via REST APIs",
- "type": "boolean"
- },
- "storage": {
- "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.",
- "type": "boolean"
- },
- "subresources": {
- "$ref": "#/definitions/v1.CustomResourceSubresources",
- "description": "subresources specify what subresources this version of the defined custom resource have."
- }
- },
- "required": [
- "name",
- "served",
- "storage"
- ],
- "type": "object"
- },
- "v1.CustomResourceSubresourceScale": {
- "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.",
- "properties": {
- "labelSelectorPath": {
- "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.",
- "type": "string"
- },
- "specReplicasPath": {
- "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.",
- "type": "string"
- },
- "statusReplicasPath": {
- "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.",
- "type": "string"
}
},
"required": [
- "specReplicasPath",
- "statusReplicasPath"
+ "request",
+ "driver",
+ "pool",
+ "device"
],
"type": "object"
},
- "v1.CustomResourceSubresources": {
- "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.",
- "properties": {
- "scale": {
- "$ref": "#/definitions/v1.CustomResourceSubresourceScale",
- "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."
- },
- "status": {
- "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.",
- "type": "object"
- }
- },
- "type": "object"
- },
- "v1.CustomResourceValidation": {
- "description": "CustomResourceValidation is a list of validation methods for CustomResources.",
+ "v1beta2.DeviceSelector": {
+ "description": "DeviceSelector must have exactly one field set.",
"properties": {
- "openAPIV3Schema": {
- "$ref": "#/definitions/v1.JSONSchemaProps",
- "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."
+ "cel": {
+ "$ref": "#/definitions/v1beta2.CELDeviceSelector",
+ "description": "CEL contains a CEL expression for selecting a device."
}
},
"type": "object"
},
- "v1.ExternalDocumentation": {
- "description": "ExternalDocumentation allows referencing an external resource for extended documentation.",
+ "v1beta2.DeviceSubRequest": {
+ "description": "DeviceSubRequest describes a request for device provided in the claim.spec.devices.requests[].firstAvailable array. Each is typically a request for a single resource like a device, but can also ask for several identical devices.\n\nDeviceSubRequest is similar to ExactDeviceRequest, but doesn't expose the AdminAccess field as that one is only supported when requesting a specific device.",
"properties": {
- "description": {
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this subrequest. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This subrequest is for all of the matching devices in a pool.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other subrequests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
"type": "string"
},
- "url": {
- "type": "string"
- }
- },
- "type": "object"
- },
- "v1.JSONSchemaProps": {
- "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).",
- "properties": {
- "$ref": {
- "type": "string"
+ "capacity": {
+ "$ref": "#/definitions/v1beta2.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
},
- "$schema": {
- "type": "string"
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
+ "format": "int64",
+ "type": "integer"
},
- "additionalItems": {
- "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
- "type": "object"
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this subrequest.\n\nA class is required. Which classes are available depends on the cluster.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
},
- "additionalProperties": {
- "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
- "type": "object"
+ "name": {
+ "description": "Name can be used to reference this subrequest in the list of constraints or the list of configurations for the claim. References must use the format /.\n\nMust be a DNS label.",
+ "type": "string"
},
- "allOf": {
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this subrequest. All selectors must be satisfied for a device to be considered.",
"items": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
+ "$ref": "#/definitions/v1beta2.DeviceSelector"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "anyOf": {
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
+ "$ref": "#/definitions/v1beta2.DeviceToleration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- },
- "default": {
- "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.",
- "type": "object"
- },
- "definitions": {
- "additionalProperties": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "object"
- },
- "dependencies": {
- "additionalProperties": {
- "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.",
- "type": "object"
- },
- "type": "object"
- },
- "description": {
+ }
+ },
+ "required": [
+ "name",
+ "deviceClassName"
+ ],
+ "type": "object"
+ },
+ "v1beta2.DeviceTaint": {
+ "description": "The device this taint is attached to has the \"effect\" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.",
+ "properties": {
+ "effect": {
+ "description": "The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.",
"type": "string"
},
- "enum": {
- "items": {
- "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
- "type": "object"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "example": {
- "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
- "type": "object"
- },
- "exclusiveMaximum": {
- "type": "boolean"
- },
- "exclusiveMinimum": {
- "type": "boolean"
- },
- "externalDocs": {
- "$ref": "#/definitions/v1.ExternalDocumentation"
- },
- "format": {
- "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.",
+ "key": {
+ "description": "The taint key to be applied to a device. Must be a label name.",
"type": "string"
},
- "id": {
+ "timeAdded": {
+ "description": "TimeAdded represents the time at which the taint was added. Added automatically during create or update if not set.",
+ "format": "date-time",
"type": "string"
},
- "items": {
- "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.",
- "type": "object"
+ "value": {
+ "description": "The taint value corresponding to the taint key. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "effect"
+ ],
+ "type": "object"
+ },
+ "v1beta2.DeviceToleration": {
+ "description": "The ResourceClaim this DeviceToleration is attached to tolerates any taint that matches the triple using the matching operator .",
+ "properties": {
+ "effect": {
+ "description": "Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule and NoExecute.",
+ "type": "string"
},
- "maxItems": {
- "format": "int64",
- "type": "integer"
+ "key": {
+ "description": "Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. Must be a label name.",
+ "type": "string"
},
- "maxLength": {
- "format": "int64",
- "type": "integer"
+ "operator": {
+ "description": "Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a ResourceClaim can tolerate all taints of a particular category.",
+ "type": "string"
},
- "maxProperties": {
+ "tolerationSeconds": {
+ "description": "TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. If larger than zero, the time when the pod needs to be evicted is calculated as + .",
"format": "int64",
"type": "integer"
},
- "maximum": {
- "format": "double",
- "type": "number"
+ "value": {
+ "description": "Value is the taint value the toleration matches to. If the operator is Exists, the value must be empty, otherwise just a regular string. Must be a label value.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1beta2.ExactDeviceRequest": {
+ "description": "ExactDeviceRequest is a request for one or more identical devices.",
+ "properties": {
+ "adminAccess": {
+ "description": "AdminAccess indicates that this is a claim for administrative access to the device(s). Claims with AdminAccess are expected to be used for monitoring or other management services for a device. They ignore all ordinary claims to the device with respect to access modes and any resource allocations.\n\nThis is an alpha field and requires enabling the DRAAdminAccess feature gate. Admin access is disabled if this field is unset or set to false, otherwise it is enabled.",
+ "type": "boolean"
},
- "minItems": {
- "format": "int64",
- "type": "integer"
+ "allocationMode": {
+ "description": "AllocationMode and its related fields define how devices are allocated to satisfy this request. Supported values are:\n\n- ExactCount: This request is for a specific number of devices.\n This is the default. The exact number is provided in the\n count field.\n\n- All: This request is for all of the matching devices in a pool.\n At least one device must exist on the node for the allocation to succeed.\n Allocation will fail if some devices are already allocated,\n unless adminAccess is requested.\n\nIf AllocationMode is not specified, the default mode is ExactCount. If the mode is ExactCount and count is not specified, the default count is one. Any other requests must specify this field.\n\nMore modes may get added in the future. Clients must refuse to handle requests with unknown modes.",
+ "type": "string"
},
- "minLength": {
- "format": "int64",
- "type": "integer"
+ "capacity": {
+ "$ref": "#/definitions/v1beta2.CapacityRequirements",
+ "description": "Capacity define resource requirements against each capacity.\n\nIf this field is unset and the device supports multiple allocations, the default value will be applied to each capacity according to requestPolicy. For the capacity that has no requestPolicy, default is the full capacity value.\n\nApplies to each device allocation. If Count > 1, the request fails if there aren't enough devices that meet the requirements. If AllocationMode is set to All, the request fails if there are devices that otherwise match the request, and have this capacity, with a value >= the requested amount, but which cannot be allocated to this request."
},
- "minProperties": {
+ "count": {
+ "description": "Count is used only when the count mode is \"ExactCount\". Must be greater than zero. If AllocationMode is ExactCount and this field is not specified, the default is one.",
"format": "int64",
"type": "integer"
},
- "minimum": {
- "format": "double",
- "type": "number"
- },
- "multipleOf": {
- "format": "double",
- "type": "number"
- },
- "not": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "nullable": {
- "type": "boolean"
+ "deviceClassName": {
+ "description": "DeviceClassName references a specific DeviceClass, which can define additional configuration and selectors to be inherited by this request.\n\nA DeviceClassName is required.\n\nAdministrators may use this to restrict which devices may get requested by only installing classes with selectors for permitted devices. If users are free to request anything without restrictions, then administrators can create an empty DeviceClass for users to reference.",
+ "type": "string"
},
- "oneOf": {
+ "selectors": {
+ "description": "Selectors define criteria which must be satisfied by a specific device in order for that device to be considered for this request. All selectors must be satisfied for a device to be considered.",
"items": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
+ "$ref": "#/definitions/v1beta2.DeviceSelector"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "pattern": {
- "type": "string"
- },
- "patternProperties": {
- "additionalProperties": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "object"
- },
- "properties": {
- "additionalProperties": {
- "$ref": "#/definitions/v1.JSONSchemaProps"
- },
- "type": "object"
- },
- "required": {
+ "tolerations": {
+ "description": "If specified, the request's tolerations.\n\nTolerations for NoSchedule are required to allocate a device which has a taint with that effect. The same applies to NoExecute.\n\nIn addition, should any of the allocated devices get tainted with NoExecute after allocation and that effect is not tolerated, then all pods consuming the ResourceClaim get deleted to evict them. The scheduler will not let new pods reserve the claim while it has these tainted devices. Once all pods are evicted, the claim will get deallocated.\n\nThe maximum number of tolerations is 16.\n\nThis is an alpha field and requires enabling the DRADeviceTaints feature gate.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta2.DeviceToleration"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- },
- "title": {
+ }
+ },
+ "required": [
+ "deviceClassName"
+ ],
+ "type": "object"
+ },
+ "v1beta2.NetworkDeviceData": {
+ "description": "NetworkDeviceData provides network-related details for the allocated device. This information may be filled by drivers or other components to configure or identify the device within a network context.",
+ "properties": {
+ "hardwareAddress": {
+ "description": "HardwareAddress represents the hardware address (e.g. MAC Address) of the device's network interface.\n\nMust not be longer than 128 characters.",
"type": "string"
},
- "type": {
+ "interfaceName": {
+ "description": "InterfaceName specifies the name of the network interface associated with the allocated device. This might be the name of a physical or virtual network interface being configured in the pod.\n\nMust not be longer than 256 characters.",
"type": "string"
},
- "uniqueItems": {
- "type": "boolean"
- },
- "x-kubernetes-embedded-resource": {
- "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).",
- "type": "boolean"
- },
- "x-kubernetes-int-or-string": {
- "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more",
- "type": "boolean"
- },
- "x-kubernetes-list-map-keys": {
- "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.",
+ "ips": {
+ "description": "IPs lists the network addresses assigned to the device's network interface. This can include both IPv4 and IPv6 addresses. The IPs are in the CIDR notation, which includes both the address and the associated subnet mask. e.g.: \"192.0.2.5/24\" for IPv4 and \"2001:db8::5/64\" for IPv6.",
"items": {
"type": "string"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
- },
- "x-kubernetes-list-type": {
- "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.",
- "type": "string"
- },
- "x-kubernetes-map-type": {
- "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.",
- "type": "string"
- },
- "x-kubernetes-preserve-unknown-fields": {
- "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.",
- "type": "boolean"
- },
- "x-kubernetes-validations": {
- "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language. This field is an alpha-level. Using this field requires the feature gate `CustomResourceValidationExpressions` to be enabled.",
- "items": {
- "$ref": "#/definitions/v1.ValidationRule"
- },
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "rule"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "rule",
- "x-kubernetes-patch-strategy": "merge"
}
},
"type": "object"
},
- "v1.SelectableField": {
- "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
+ "v1beta2.OpaqueDeviceConfiguration": {
+ "description": "OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.",
"properties": {
- "jsonPath": {
- "description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
+ "driver": {
+ "description": "Driver is used to determine which kubelet plugin needs to be passed these configuration parameters.\n\nAn admission policy provided by the driver developer could use this to decide whether it needs to validate them.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.",
"type": "string"
+ },
+ "parameters": {
+ "description": "Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions.\n\nThe length of the raw data must be smaller or equal to 10 Ki.",
+ "type": "object"
}
},
"required": [
- "jsonPath"
+ "driver",
+ "parameters"
],
"type": "object"
},
- "apiextensions.v1.ServiceReference": {
- "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
+ "v1beta2.ResourceClaim": {
+ "description": "ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
- "name": {
- "description": "name is the name of the service. Required",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "namespace": {
- "description": "namespace is the namespace of the service. Required",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "path": {
- "description": "path is an optional URL path at which the webhook will be contacted.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata"
},
- "port": {
- "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.",
- "format": "int32",
- "type": "integer"
+ "spec": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimSpec",
+ "description": "Spec describes what is being requested and how to configure it. The spec is immutable."
+ },
+ "status": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimStatus",
+ "description": "Status describes whether the claim is ready to use and what has been allocated."
}
},
"required": [
- "namespace",
- "name"
+ "spec"
],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
+ }
+ ]
},
- "v1.ValidationRule": {
- "description": "ValidationRule describes a validation rule written in the CEL expression language.",
+ "v1beta2.ResourceClaimConsumerReference": {
+ "description": "ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.",
"properties": {
- "fieldPath": {
- "description": "fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`",
- "type": "string"
- },
- "message": {
- "description": "Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\"",
+ "apiGroup": {
+ "description": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
"type": "string"
},
- "messageExpression": {
- "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"",
+ "name": {
+ "description": "Name is the name of resource being referenced.",
"type": "string"
},
- "optionalOldSelf": {
- "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`.",
- "type": "boolean"
- },
- "reason": {
- "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.",
+ "resource": {
+ "description": "Resource is the type of resource being referenced, for example \"pods\".",
"type": "string"
},
- "rule": {
- "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.",
+ "uid": {
+ "description": "UID identifies exactly one incarnation of the resource.",
"type": "string"
}
},
"required": [
- "rule"
+ "resource",
+ "name",
+ "uid"
],
"type": "object"
},
- "apiextensions.v1.WebhookClientConfig": {
- "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.",
+ "v1beta2.ResourceClaimList": {
+ "description": "ResourceClaimList is a collection of claims.",
"properties": {
- "caBundle": {
- "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.",
- "format": "byte",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "service": {
- "$ref": "#/definitions/apiextensions.v1.ServiceReference",
- "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
+ "items": {
+ "description": "Items is the list of resource claims.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ },
+ "type": "array"
},
- "url": {
- "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimList",
+ "version": "v1beta2"
+ }
+ ]
+ },
+ "v1beta2.ResourceClaimSpec": {
+ "description": "ResourceClaimSpec defines what is being requested in a ResourceClaim and how to configure it.",
+ "properties": {
+ "devices": {
+ "$ref": "#/definitions/v1beta2.DeviceClaim",
+ "description": "Devices defines how to request devices."
}
},
"type": "object"
},
- "v1.WebhookConversion": {
- "description": "WebhookConversion describes how to call a conversion webhook",
+ "v1beta2.ResourceClaimStatus": {
+ "description": "ResourceClaimStatus tracks whether the resource has been allocated and what the result of that was.",
"properties": {
- "clientConfig": {
- "$ref": "#/definitions/apiextensions.v1.WebhookClientConfig",
- "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."
+ "allocation": {
+ "$ref": "#/definitions/v1beta2.AllocationResult",
+ "description": "Allocation is set once the claim has been allocated successfully."
},
- "conversionReviewVersions": {
- "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.",
+ "devices": {
+ "description": "Devices contains the status of each device allocated for this claim, as reported by the driver. This can include driver-specific information. Entries are owned by their respective drivers.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta2.AllocatedDeviceStatus"
},
"type": "array",
- "x-kubernetes-list-type": "atomic"
+ "x-kubernetes-list-map-keys": [
+ "driver",
+ "device",
+ "pool",
+ "shareID"
+ ],
+ "x-kubernetes-list-type": "map"
+ },
+ "reservedFor": {
+ "description": "ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started. A claim that is in use or might be in use because it has been reserved must not get deallocated.\n\nIn a cluster with multiple scheduler instances, two pods might get scheduled concurrently by different schedulers. When they reference the same ResourceClaim which already has reached its maximum number of consumers, only one pod can be scheduled.\n\nBoth schedulers try to add their pod to the claim.status.reservedFor field, but only the update that reaches the API server first gets stored. The other one fails with an error and the scheduler which issued it knows that it must put the pod back into the queue, waiting for the ResourceClaim to become usable again.\n\nThere can be at most 256 such reservations. This may get increased in the future, but not reduced.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimConsumerReference"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "uid"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "uid",
+ "x-kubernetes-patch-strategy": "merge"
}
},
- "required": [
- "conversionReviewVersions"
- ],
"type": "object"
},
- "resource.Quantity": {
- "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
- "type": "object",
- "properties": {
- "value": {
- "type": "string"
- }
- }
- },
- "v1.APIGroup": {
- "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
+ "v1beta2.ResourceClaimTemplate": {
+ "description": "ResourceClaimTemplate is used to produce ResourceClaim objects.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -17600,1364 +18767,1344 @@
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "name": {
- "description": "name is the name of the group.",
- "type": "string"
- },
- "preferredVersion": {
- "$ref": "#/definitions/v1.GroupVersionForDiscovery",
- "description": "preferredVersion is the version preferred by the API server, which probably is the storage version."
- },
- "serverAddressByClientCIDRs": {
- "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
- "items": {
- "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata"
},
- "versions": {
- "description": "versions are the versions supported in this group.",
- "items": {
- "$ref": "#/definitions/v1.GroupVersionForDiscovery"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "spec": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplateSpec",
+ "description": "Describes the ResourceClaim that is to be generated.\n\nThis field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore."
}
},
"required": [
- "name",
- "versions"
+ "spec"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIGroup",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
}
]
},
- "v1.APIGroupList": {
- "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
+ "v1beta2.ResourceClaimTemplateList": {
+ "description": "ResourceClaimTemplateList is a collection of claim templates.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "groups": {
- "description": "groups is a list of APIGroup.",
+ "items": {
+ "description": "Items is the list of resource claim templates.",
"items": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "type": "array"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata"
}
},
"required": [
- "groups"
+ "items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIGroupList",
- "version": "v1"
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplateList",
+ "version": "v1beta2"
}
]
},
- "v1.APIResource": {
- "description": "APIResource specifies the name of a resource and whether it is namespaced.",
+ "v1beta2.ResourceClaimTemplateSpec": {
+ "description": "ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.",
"properties": {
- "categories": {
- "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation."
},
- "group": {
- "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".",
+ "spec": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimSpec",
+ "description": "Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object"
+ },
+ "v1beta2.ResourcePool": {
+ "description": "ResourcePool describes the pool that ResourceSlices belong to.",
+ "properties": {
+ "generation": {
+ "description": "Generation tracks the change in a pool over time. Whenever a driver changes something about one or more of the resources in a pool, it must change the generation in all ResourceSlices which are part of that pool. Consumers of ResourceSlices should only consider resources from the pool with the highest generation number. The generation may be reset by drivers, which should be fine for consumers, assuming that all ResourceSlices in a pool are updated to match or deleted.\n\nCombined with ResourceSliceCount, this mechanism enables consumers to detect pools which are comprised of multiple ResourceSlices and are in an incomplete state.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "name": {
+ "description": "Name is used to identify the pool. For node-local devices, this is often the node name, but this is not required.\n\nIt must not be longer than 253 characters and must consist of one or more DNS sub-domains separated by slashes. This field is immutable.",
+ "type": "string"
+ },
+ "resourceSliceCount": {
+ "description": "ResourceSliceCount is the total number of ResourceSlices in the pool at this generation number. Must be greater than zero.\n\nConsumers can use this to check whether they have seen all ResourceSlices belonging to the same pool.",
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "name",
+ "generation",
+ "resourceSliceCount"
+ ],
+ "type": "object"
+ },
+ "v1beta2.ResourceSlice": {
+ "description": "ResourceSlice represents one or more resources in a pool of similar resources, managed by a common driver. A pool may span more than one ResourceSlice, and exactly how many ResourceSlices comprise a pool is determined by the driver.\n\nAt the moment, the only supported resources are devices with attributes and capacities. Each device in a given pool, regardless of how many ResourceSlices, must have a unique name. The ResourceSlice in which a device gets published may change over time. The unique identifier for a device is the tuple , , .\n\nWhenever a driver needs to update a pool, it increments the pool.Spec.Pool.Generation number and updates all ResourceSlices with that new number and new resource definitions. A consumer must only use ResourceSlices with the highest generation number and ignore all others.\n\nWhen allocating all resources in a pool matching certain criteria or when looking for the best solution among several different alternatives, a consumer should check the number of ResourceSlices in a pool (included in each ResourceSlice) to determine whether its view of a pool is complete and if not, should wait until the driver has completed updating the pool.\n\nFor resources that are not local to a node, the node name is not set. Instead, the driver may use a node selector to specify where the devices are available.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
- "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "name": {
- "description": "name is the plural name of the resource.",
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1beta2.ResourceSliceSpec",
+ "description": "Contains the information published by the driver.\n\nChanging the spec automatically increments the metadata.generation number."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
+ }
+ ]
+ },
+ "v1beta2.ResourceSliceList": {
+ "description": "ResourceSliceList is a collection of ResourceSlices.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "namespaced": {
- "description": "namespaced indicates if a resource is namespaced or not.",
+ "items": {
+ "description": "Items is the list of resource ResourceSlices.",
+ "items": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSliceList",
+ "version": "v1beta2"
+ }
+ ]
+ },
+ "v1beta2.ResourceSliceSpec": {
+ "description": "ResourceSliceSpec contains the information published by the driver in one ResourceSlice.",
+ "properties": {
+ "allNodes": {
+ "description": "AllNodes indicates that all nodes have access to the resources in the pool.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
"type": "boolean"
},
- "shortNames": {
- "description": "shortNames is a list of suggested short names of the resource.",
+ "devices": {
+ "description": "Devices lists some or all of the devices in this pool.\n\nMust not have more than 128 entries.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta2.Device"
},
"type": "array",
"x-kubernetes-list-type": "atomic"
},
- "singularName": {
- "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
+ "driver": {
+ "description": "Driver identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.\n\nMust be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver. This field is immutable.",
"type": "string"
},
- "storageVersionHash": {
- "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.",
+ "nodeName": {
+ "description": "NodeName identifies the node which provides the resources in this pool. A field selector can be used to list only ResourceSlice objects belonging to a certain node.\n\nThis field can be used to limit access from nodes to ResourceSlices with the same node name. It also indicates to autoscalers that adding new nodes of the same type as some old node might also make new resources available.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set. This field is immutable.",
"type": "string"
},
- "verbs": {
- "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
+ "nodeSelector": {
+ "$ref": "#/definitions/v1.NodeSelector",
+ "description": "NodeSelector defines which nodes have access to the resources in the pool, when that pool is not limited to a single node.\n\nMust use exactly one term.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set."
+ },
+ "perDeviceNodeSelection": {
+ "description": "PerDeviceNodeSelection defines whether the access from nodes to resources in the pool is set on the ResourceSlice level or on each device. If it is set to true, every device defined the ResourceSlice must specify this individually.\n\nExactly one of NodeName, NodeSelector, AllNodes, and PerDeviceNodeSelection must be set.",
+ "type": "boolean"
+ },
+ "pool": {
+ "$ref": "#/definitions/v1beta2.ResourcePool",
+ "description": "Pool describes the pool that this ResourceSlice belongs to."
+ },
+ "sharedCounters": {
+ "description": "SharedCounters defines a list of counter sets, each of which has a name and a list of counters available.\n\nThe names of the SharedCounters must be unique in the ResourceSlice.\n\nThe maximum number of counters in all sets is 32.",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1beta2.CounterSet"
},
- "type": "array"
- },
- "version": {
- "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".",
- "type": "string"
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "name",
- "singularName",
- "namespaced",
- "kind",
- "verbs"
+ "driver",
+ "pool"
],
"type": "object"
},
- "v1.APIResourceList": {
- "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
+ "v1.PriorityClass": {
+ "description": "PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "groupVersion": {
- "description": "groupVersion is the group and version this APIResourceList is for.",
+ "description": {
+ "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.",
"type": "string"
},
+ "globalDefault": {
+ "description": "globalDefault specifies whether this PriorityClass should be considered as the default priority for pods that do not have any priority class. Only one PriorityClass can be marked as `globalDefault`. However, if more than one PriorityClasses exists with their `globalDefault` field set to true, the smallest value of such global default PriorityClasses will be used as the default priority.",
+ "type": "boolean"
+ },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "resources": {
- "description": "resources contains the name of the resources and if they are namespaced.",
- "items": {
- "$ref": "#/definitions/v1.APIResource"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "preemptionPolicy": {
+ "description": "preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.",
+ "type": "string"
+ },
+ "value": {
+ "description": "value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.",
+ "format": "int32",
+ "type": "integer"
}
},
"required": [
- "groupVersion",
- "resources"
+ "value"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIResourceList",
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
"version": "v1"
}
]
},
- "v1.APIVersions": {
- "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.",
+ "v1.PriorityClassList": {
+ "description": "PriorityClassList is a collection of priority classes.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
+ "items": {
+ "description": "items is the list of PriorityClasses",
+ "items": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ },
+ "type": "array"
+ },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "serverAddressByClientCIDRs": {
- "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
- "items": {
- "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "versions": {
- "description": "versions are the api versions that are available.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "versions",
- "serverAddressByClientCIDRs"
+ "items"
],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "APIVersions",
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClassList",
"version": "v1"
}
]
},
- "v1.Condition": {
- "description": "Condition contains details for one aspect of the current state of this API Resource.",
+ "v1.CSIDriver": {
+ "description": "CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.",
"properties": {
- "lastTransitionTime": {
- "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
- "format": "date-time",
- "type": "string"
- },
- "message": {
- "description": "message is a human readable message indicating details about the transition. This may be an empty string.",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "observedGeneration": {
- "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
- "format": "int64",
- "type": "integer"
- },
- "reason": {
- "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "status": {
- "description": "status of the condition, one of True, False, Unknown.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata. metadata.Name indicates the name of the CSI driver that this object refers to; it MUST be the same name returned by the CSI GetPluginName() call for that driver. The driver name must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), dots (.), and alphanumerics between. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "type": {
- "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
- "type": "string"
+ "spec": {
+ "$ref": "#/definitions/v1.CSIDriverSpec",
+ "description": "spec represents the specification of the CSI Driver."
}
},
"required": [
- "type",
- "status",
- "lastTransitionTime",
- "reason",
- "message"
+ "spec"
],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
+ "version": "v1"
+ }
+ ]
},
- "v1.DeleteOptions": {
- "description": "DeleteOptions may be provided when deleting an API object.",
+ "v1.CSIDriverList": {
+ "description": "CSIDriverList is a collection of CSIDriver objects.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "dryRun": {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "items": {
+ "description": "items is the list of CSIDriver",
"items": {
- "type": "string"
+ "$ref": "#/definitions/v1.CSIDriver"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
- },
- "gracePeriodSeconds": {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "format": "int64",
- "type": "integer"
+ "type": "array"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "orphanDependents": {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "type": "boolean"
- },
- "preconditions": {
- "$ref": "#/definitions/v1.Preconditions",
- "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."
- },
- "propagationPolicy": {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
+ "required": [
+ "items"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriverList",
"version": "v1"
+ }
+ ]
+ },
+ "v1.CSIDriverSpec": {
+ "description": "CSIDriverSpec is the specification of a CSIDriver.",
+ "properties": {
+ "attachRequired": {
+ "description": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.",
+ "type": "boolean"
},
- {
- "group": "admission.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "fsGroupPolicy": {
+ "description": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
+ "type": "string"
},
- {
- "group": "admission.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "nodeAllocatableUpdatePeriodSeconds": {
+ "description": "nodeAllocatableUpdatePeriodSeconds specifies the interval between periodic updates of the CSINode allocatable capacity for this driver. When set, both periodic updates and updates triggered by capacity-related failures are enabled. If not set, no updates occur (neither periodic nor upon detecting capacity-related failures), and the allocatable.count remains static. The minimum allowed value for this field is 10 seconds.\n\nThis is a beta feature and requires the MutableCSINodeAllocatableCount feature gate to be enabled.\n\nThis field is mutable.",
+ "format": "int64",
+ "type": "integer"
},
- {
- "group": "admissionregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "podInfoOnMount": {
+ "description": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.",
+ "type": "boolean"
},
- {
- "group": "admissionregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "requiresRepublish": {
+ "description": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
+ "type": "boolean"
},
- {
- "group": "admissionregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "seLinuxMount": {
+ "description": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
+ "type": "boolean"
},
- {
- "group": "apiextensions.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "storageCapacity": {
+ "description": "storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable.",
+ "type": "boolean"
},
- {
- "group": "apiextensions.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "tokenRequests": {
+ "description": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
+ "items": {
+ "$ref": "#/definitions/storage.v1.TokenRequest"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "group": "apiregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "volumeLifecycleModes": {
+ "description": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.\n\nThe other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.\n\nFor more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.\n\nThis field is beta. This field is immutable.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "set"
+ }
+ },
+ "type": "object"
+ },
+ "v1.CSINode": {
+ "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "apiregistration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. metadata.name must be the Kubernetes node name."
},
+ "spec": {
+ "$ref": "#/definitions/v1.CSINodeSpec",
+ "description": "spec is the specification of CSINode"
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "apps",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "CSINode",
"version": "v1"
+ }
+ ]
+ },
+ "v1.CSINodeDriver": {
+ "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node",
+ "properties": {
+ "allocatable": {
+ "$ref": "#/definitions/v1.VolumeNodeResources",
+ "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta."
},
- {
- "group": "apps",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "name": {
+ "description": "name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.",
+ "type": "string"
},
- {
- "group": "apps",
- "kind": "DeleteOptions",
- "version": "v1beta2"
+ "nodeID": {
+ "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.",
+ "type": "string"
},
- {
- "group": "authentication.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "topologyKeys": {
+ "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "name",
+ "nodeID"
+ ],
+ "type": "object"
+ },
+ "v1.CSINodeList": {
+ "description": "CSINodeList is a collection of CSINode objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "authentication.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "items": {
+ "description": "items is the list of CSINode",
+ "items": {
+ "$ref": "#/definitions/v1.CSINode"
+ },
+ "type": "array"
},
- {
- "group": "authentication.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "authorization.k8s.io",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "CSINodeList",
"version": "v1"
+ }
+ ]
+ },
+ "v1.CSINodeSpec": {
+ "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node",
+ "properties": {
+ "drivers": {
+ "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.",
+ "items": {
+ "$ref": "#/definitions/v1.CSINodeDriver"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "name"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "name",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "required": [
+ "drivers"
+ ],
+ "type": "object"
+ },
+ "v1.CSIStorageCapacity": {
+ "description": "CSIStorageCapacity stores the result of one CSI GetCapacity call. For a given StorageClass, this describes the available capacity in a particular topology segment. This can be used when considering where to instantiate new PersistentVolumes.\n\nFor example this can express things like: - StorageClass \"standard\" has \"1234 GiB\" available in \"topology.kubernetes.io/zone=us-east1\" - StorageClass \"localssd\" has \"10 GiB\" available in \"kubernetes.io/hostname=knode-abc123\"\n\nThe following three cases all imply that no capacity is available for a certain combination: - no object exists with suitable topology and storage class name - such an object exists, but the capacity is unset - such an object exists, but the capacity is zero\n\nThe producer of these objects can decide which approach is more suitable.\n\nThey are consumed by the kube-scheduler when a CSI driver opts into capacity-aware scheduling with CSIDriverSpec.StorageCapacity. The scheduler compares the MaximumVolumeSize against the requested size of pending volumes to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back to a comparison against the less precise Capacity. If that is also unset, the scheduler assumes that capacity is insufficient and tries some other node.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v2"
- },
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v2beta1"
- },
- {
- "group": "autoscaling",
- "kind": "DeleteOptions",
- "version": "v2beta2"
- },
- {
- "group": "batch",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "batch",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "capacity": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "capacity is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThe semantic is currently (CSI spec 1.2) defined as: The available capacity, in bytes, of the storage that can be used to provision volumes. If not set, that information is currently unavailable."
},
- {
- "group": "coordination.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
- {
- "group": "coordination.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "maximumVolumeSize": {
+ "$ref": "#/definitions/resource.Quantity",
+ "description": "maximumVolumeSize is the value reported by the CSI driver in its GetCapacityResponse for a GetCapacityRequest with topology and parameters that match the previous fields.\n\nThis is defined since CSI spec 1.4.0 as the largest size that may be used in a CreateVolumeRequest.capacity_range.required_bytes field to create a volume with the same parameters as those in GetCapacityRequest. The corresponding value in the Kubernetes API is ResourceRequirements.Requests in a volume claim."
},
- {
- "group": "discovery.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. The name has no particular meaning. It must be a DNS subdomain (dots allowed, 253 characters). To ensure that there are no conflicts with other CSI drivers on the cluster, the recommendation is to use csisc-, a generated name, or a reverse-domain name which ends with the unique CSI driver name.\n\nObjects are namespaced.\n\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- {
- "group": "discovery.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "nodeTopology": {
+ "$ref": "#/definitions/v1.LabelSelector",
+ "description": "nodeTopology defines which nodes have access to the storage for which capacity was reported. If not set, the storage is not accessible from any node in the cluster. If empty, the storage is accessible from all nodes. This field is immutable."
},
+ "storageClassName": {
+ "description": "storageClassName represents the name of the StorageClass that the reported capacity applies to. It must meet the same requirements as the name of a StorageClass object (non-empty, DNS subdomain). If that object no longer exists, the CSIStorageCapacity object is obsolete and should be removed by its creator. This field is immutable.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "storageClassName"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "events.k8s.io",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "CSIStorageCapacity",
"version": "v1"
+ }
+ ]
+ },
+ "v1.CSIStorageCapacityList": {
+ "description": "CSIStorageCapacityList is a collection of CSIStorageCapacity objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "events.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "items": {
+ "description": "items is the list of CSIStorageCapacity objects.",
+ "items": {
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
+ },
+ "type": "array"
},
- {
- "group": "extensions",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "CSIStorageCapacityList",
"version": "v1"
+ }
+ ]
+ },
+ "v1.StorageClass": {
+ "description": "StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.\n\nStorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.",
+ "properties": {
+ "allowVolumeExpansion": {
+ "description": "allowVolumeExpansion shows whether the storage class allow volume expand.",
+ "type": "boolean"
},
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "allowedTopologies": {
+ "description": "allowedTopologies restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.",
+ "items": {
+ "$ref": "#/definitions/v1.TopologySelectorTerm"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta2"
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta3"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
- {
- "group": "imagepolicy.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- {
- "group": "internal.apiserver.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "mountOptions": {
+ "description": "mountOptions controls the mountOptions for dynamically provisioned PersistentVolumes of this storage class. e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "group": "networking.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "parameters": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "parameters holds the parameters for the provisioner that should create volumes of this storage class.",
+ "type": "object"
},
- {
- "group": "networking.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "provisioner": {
+ "description": "provisioner indicates the type of the provisioner.",
+ "type": "string"
},
- {
- "group": "networking.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "reclaimPolicy": {
+ "description": "reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.",
+ "type": "string"
},
+ "volumeBindingMode": {
+ "description": "volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "provisioner"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "node.k8s.io",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "StorageClass",
"version": "v1"
+ }
+ ]
+ },
+ "v1.StorageClassList": {
+ "description": "StorageClassList is a collection of storage classes.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "node.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "items": {
+ "description": "items is the list of StorageClasses",
+ "items": {
+ "$ref": "#/definitions/v1.StorageClass"
+ },
+ "type": "array"
},
- {
- "group": "node.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "policy",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "StorageClassList",
"version": "v1"
+ }
+ ]
+ },
+ "storage.v1.TokenRequest": {
+ "description": "TokenRequest contains parameters of a service account token.",
+ "properties": {
+ "audience": {
+ "description": "audience is the intended audience of the token in \"TokenRequestSpec\". It will default to the audiences of kube apiserver.",
+ "type": "string"
},
- {
- "group": "policy",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1"
+ "expirationSeconds": {
+ "description": "expirationSeconds is the duration of validity of the token in \"TokenRequestSpec\". It has the same default value of \"ExpirationSeconds\" in \"TokenRequestSpec\".",
+ "format": "int64",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "audience"
+ ],
+ "type": "object"
+ },
+ "v1.VolumeAttachment": {
+ "description": "VolumeAttachment captures the intent to attach or detach the specified volume to/from the specified node.\n\nVolumeAttachment objects are non-namespaced.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- {
- "group": "resource.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha2"
+ "spec": {
+ "$ref": "#/definitions/v1.VolumeAttachmentSpec",
+ "description": "spec represents specification of the desired attach/detach volume behavior. Populated by the Kubernetes system."
},
+ "status": {
+ "$ref": "#/definitions/v1.VolumeAttachmentStatus",
+ "description": "status represents status of the VolumeAttachment request. Populated by the entity completing the attach or detach operation, i.e. the external-attacher."
+ }
+ },
+ "required": [
+ "spec"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "group": "scheduling.k8s.io",
- "kind": "DeleteOptions",
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttachment",
"version": "v1"
+ }
+ ]
+ },
+ "v1.VolumeAttachmentList": {
+ "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- {
- "group": "scheduling.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
+ "items": {
+ "description": "items is the list of VolumeAttachments",
+ "items": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ },
+ "type": "array"
},
- {
- "group": "scheduling.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
},
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
"group": "storage.k8s.io",
- "kind": "DeleteOptions",
+ "kind": "VolumeAttachmentList",
"version": "v1"
- },
- {
- "group": "storage.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
- },
- {
- "group": "storage.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1beta1"
- },
- {
- "group": "storagemigration.k8s.io",
- "kind": "DeleteOptions",
- "version": "v1alpha1"
}
]
},
- "v1.GroupVersionForDiscovery": {
- "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
+ "v1.VolumeAttachmentSource": {
+ "description": "VolumeAttachmentSource represents a volume that should be attached. Right now only PersistentVolumes can be attached via external attacher, in the future we may allow also inline volumes in pods. Exactly one member can be set.",
"properties": {
- "groupVersion": {
- "description": "groupVersion specifies the API group and version in the form \"group/version\"",
+ "inlineVolumeSpec": {
+ "$ref": "#/definitions/v1.PersistentVolumeSpec",
+ "description": "inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource. This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature."
+ },
+ "persistentVolumeName": {
+ "description": "persistentVolumeName represents the name of the persistent volume to attach.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.VolumeAttachmentSpec": {
+ "description": "VolumeAttachmentSpec is the specification of a VolumeAttachment request.",
+ "properties": {
+ "attacher": {
+ "description": "attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().",
"type": "string"
},
- "version": {
- "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
+ "nodeName": {
+ "description": "nodeName represents the node that the volume should be attached to.",
"type": "string"
+ },
+ "source": {
+ "$ref": "#/definitions/v1.VolumeAttachmentSource",
+ "description": "source represents the volume that should be attached."
}
},
"required": [
- "groupVersion",
- "version"
+ "attacher",
+ "source",
+ "nodeName"
],
"type": "object"
},
- "v1.LabelSelector": {
- "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
+ "v1.VolumeAttachmentStatus": {
+ "description": "VolumeAttachmentStatus is the status of a VolumeAttachment request.",
"properties": {
- "matchExpressions": {
- "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
- "items": {
- "$ref": "#/definitions/v1.LabelSelectorRequirement"
- },
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "attachError": {
+ "$ref": "#/definitions/v1.VolumeError",
+ "description": "attachError represents the last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher."
},
- "matchLabels": {
+ "attached": {
+ "description": "attached indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
+ "type": "boolean"
+ },
+ "attachmentMetadata": {
"additionalProperties": {
"type": "string"
},
- "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
+ "description": "attachmentMetadata is populated with any information returned by the attach operation, upon successful attach, that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.",
"type": "object"
+ },
+ "detachError": {
+ "$ref": "#/definitions/v1.VolumeError",
+ "description": "detachError represents the last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher."
}
},
- "type": "object",
- "x-kubernetes-map-type": "atomic"
+ "required": [
+ "attached"
+ ],
+ "type": "object"
},
- "v1.LabelSelectorRequirement": {
- "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
+ "v1.VolumeAttributesClass": {
+ "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
"properties": {
- "key": {
- "description": "key is the label key that the selector applies to.",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "operator": {
- "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
+ "driverName": {
+ "description": "Name of the CSI driver This field is immutable.",
"type": "string"
},
- "values": {
- "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
- "items": {
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "parameters": {
+ "additionalProperties": {
"type": "string"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
+ "type": "object"
}
},
"required": [
- "key",
- "operator"
+ "driverName"
],
- "type": "object"
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1"
+ }
+ ]
},
- "v1.ListMeta": {
- "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
+ "v1.VolumeAttributesClassList": {
+ "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
"properties": {
- "continue": {
- "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "remainingItemCount": {
- "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
- "format": "int64",
- "type": "integer"
+ "items": {
+ "description": "items is the list of VolumeAttributesClass objects.",
+ "items": {
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
+ },
+ "type": "array"
},
- "resourceVersion": {
- "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "selfLink": {
- "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
- "type": "object"
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClassList",
+ "version": "v1"
+ }
+ ]
},
- "v1.ManagedFieldsEntry": {
- "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
+ "v1.VolumeError": {
+ "description": "VolumeError captures an error encountered during a volume operation.",
"properties": {
- "apiVersion": {
- "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
- "type": "string"
- },
- "fieldsType": {
- "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
- "type": "string"
- },
- "fieldsV1": {
- "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
- "type": "object"
- },
- "manager": {
- "description": "Manager is an identifier of the workflow managing these fields.",
- "type": "string"
- },
- "operation": {
- "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
- "type": "string"
+ "errorCode": {
+ "description": "errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations.\n\nThis is an optional, beta field that requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.",
+ "format": "int32",
+ "type": "integer"
},
- "subresource": {
- "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
+ "message": {
+ "description": "message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.",
"type": "string"
},
"time": {
- "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.",
+ "description": "time represents the time the error was encountered.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
},
- "v1.ObjectMeta": {
- "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
+ "v1.VolumeNodeResources": {
+ "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.",
"properties": {
- "annotations": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations",
- "type": "object"
- },
- "creationTimestamp": {
- "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
- "format": "date-time",
- "type": "string"
- },
- "deletionGracePeriodSeconds": {
- "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
- "format": "int64",
+ "count": {
+ "description": "count indicates the maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.",
+ "format": "int32",
"type": "integer"
- },
- "deletionTimestamp": {
- "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
- "format": "date-time",
+ }
+ },
+ "type": "object"
+ },
+ "v1alpha1.VolumeAttributesClass": {
+ "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "finalizers": {
- "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
- "items": {
- "type": "string"
- },
- "type": "array",
- "x-kubernetes-list-type": "set",
- "x-kubernetes-patch-strategy": "merge"
+ "driverName": {
+ "description": "Name of the CSI driver This field is immutable.",
+ "type": "string"
},
- "generateName": {
- "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "generation": {
- "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
- "format": "int64",
- "type": "integer"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "labels": {
+ "parameters": {
"additionalProperties": {
"type": "string"
},
- "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
+ "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
"type": "object"
+ }
+ },
+ "required": [
+ "driverName"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.VolumeAttributesClassList": {
+ "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
},
- "managedFields": {
- "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
+ "items": {
+ "description": "items is the list of VolumeAttributesClass objects.",
"items": {
- "$ref": "#/definitions/v1.ManagedFieldsEntry"
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
},
- "type": "array",
- "x-kubernetes-list-type": "atomic"
+ "type": "array"
},
- "name": {
- "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "namespace": {
- "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClassList",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1beta1.VolumeAttributesClass": {
+ "description": "VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "ownerReferences": {
- "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
- "items": {
- "$ref": "#/definitions/v1.OwnerReference"
- },
- "type": "array",
- "x-kubernetes-list-map-keys": [
- "uid"
- ],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "uid",
- "x-kubernetes-patch-strategy": "merge"
- },
- "resourceVersion": {
- "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
+ "driverName": {
+ "description": "Name of the CSI driver This field is immutable.",
"type": "string"
},
- "selfLink": {
- "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "uid": {
- "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "parameters": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass.\n\nThis field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.",
+ "type": "object"
}
},
- "type": "object"
+ "required": [
+ "driverName"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1beta1"
+ }
+ ]
},
- "v1.OwnerReference": {
- "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
+ "v1beta1.VolumeAttributesClassList": {
+ "description": "VolumeAttributesClassList is a collection of VolumeAttributesClass objects.",
"properties": {
"apiVersion": {
- "description": "API version of the referent.",
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "blockOwnerDeletion": {
- "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
- "type": "boolean"
- },
- "controller": {
- "description": "If true, this reference points to the managing controller.",
- "type": "boolean"
+ "items": {
+ "description": "items is the list of VolumeAttributesClass objects.",
+ "items": {
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
+ },
+ "type": "array"
},
"kind": {
- "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
- "type": "string"
- },
- "name": {
- "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "uid": {
- "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
- "type": "string"
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
- "apiVersion",
- "kind",
- "name",
- "uid"
+ "items"
],
"type": "object",
- "x-kubernetes-map-type": "atomic"
- },
- "v1.Patch": {
- "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
- "type": "object",
- "properties": {
- "content": {
- "type": "object"
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClassList",
+ "version": "v1beta1"
}
- }
+ ]
},
- "v1.Preconditions": {
- "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
+ "v1alpha1.GroupVersionResource": {
+ "description": "The names of the group, the version, and the resource.",
"properties": {
- "resourceVersion": {
- "description": "Specifies the target ResourceVersion",
+ "group": {
+ "description": "The name of the group.",
"type": "string"
},
- "uid": {
- "description": "Specifies the target UID.",
+ "resource": {
+ "description": "The name of the resource.",
+ "type": "string"
+ },
+ "version": {
+ "description": "The name of the version.",
"type": "string"
}
},
"type": "object"
},
- "v1.ServerAddressByClientCIDR": {
- "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
+ "v1alpha1.MigrationCondition": {
+ "description": "Describes the state of a migration at a certain point.",
"properties": {
- "clientCIDR": {
- "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.",
+ "lastUpdateTime": {
+ "description": "The last time this condition was updated.",
+ "format": "date-time",
"type": "string"
},
- "serverAddress": {
- "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
+ "message": {
+ "description": "A human readable message indicating details about the transition.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "The reason for the condition's last transition.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the condition, one of True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type of the condition.",
"type": "string"
}
},
"required": [
- "clientCIDR",
- "serverAddress"
+ "type",
+ "status"
],
"type": "object"
},
- "v1.Status": {
- "description": "Status is a return value for calls that don't return other objects.",
+ "v1alpha1.StorageVersionMigration": {
+ "description": "StorageVersionMigration represents a migration of stored data to the latest storage version.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "code": {
- "description": "Suggested HTTP return code for this status, 0 if not set.",
- "format": "int32",
- "type": "integer"
- },
- "details": {
- "$ref": "#/definitions/v1.StatusDetails",
- "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
- "x-kubernetes-list-type": "atomic"
- },
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "message": {
- "description": "A human-readable description of the status of this operation.",
- "type": "string"
- },
"metadata": {
- "$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
- "reason": {
- "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
- "type": "string"
+ "spec": {
+ "$ref": "#/definitions/v1alpha1.StorageVersionMigrationSpec",
+ "description": "Specification of the migration."
},
"status": {
- "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
- "type": "string"
+ "$ref": "#/definitions/v1alpha1.StorageVersionMigrationStatus",
+ "description": "Status of the migration."
}
},
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "",
- "kind": "Status",
- "version": "v1"
- },
- {
- "group": "resource.k8s.io",
- "kind": "Status",
- "version": "v1alpha2"
+ "group": "storagemigration.k8s.io",
+ "kind": "StorageVersionMigration",
+ "version": "v1alpha1"
}
]
},
- "v1.StatusCause": {
- "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
+ "v1alpha1.StorageVersionMigrationList": {
+ "description": "StorageVersionMigrationList is a collection of storage version migrations.",
"properties": {
- "field": {
- "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
- "message": {
- "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
+ "items": {
+ "description": "Items is the list of StorageVersionMigration",
+ "items": {
+ "$ref": "#/definitions/v1alpha1.StorageVersionMigration"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
- "reason": {
- "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "storagemigration.k8s.io",
+ "kind": "StorageVersionMigrationList",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1alpha1.StorageVersionMigrationSpec": {
+ "description": "Spec of the storage version migration.",
+ "properties": {
+ "continueToken": {
+ "description": "The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.",
"type": "string"
+ },
+ "resource": {
+ "$ref": "#/definitions/v1alpha1.GroupVersionResource",
+ "description": "The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable."
}
},
+ "required": [
+ "resource"
+ ],
"type": "object"
},
- "v1.StatusDetails": {
- "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
+ "v1alpha1.StorageVersionMigrationStatus": {
+ "description": "Status of the storage version migration.",
"properties": {
- "causes": {
- "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
+ "conditions": {
+ "description": "The latest available observations of the migration's current state.",
"items": {
- "$ref": "#/definitions/v1.StatusCause"
+ "$ref": "#/definitions/v1alpha1.MigrationCondition"
},
"type": "array",
- "x-kubernetes-list-type": "atomic"
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
},
- "group": {
- "description": "The group attribute of the resource associated with the status StatusReason.",
+ "resourceVersion": {
+ "description": "ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.CustomResourceColumnDefinition": {
+ "description": "CustomResourceColumnDefinition specifies a column for server side printing.",
+ "properties": {
+ "description": {
+ "description": "description is a human readable description of this column.",
"type": "string"
},
- "kind": {
- "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "format": {
+ "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
+ "type": "string"
+ },
+ "jsonPath": {
+ "description": "jsonPath is a simple JSON path (i.e. with array notation) which is evaluated against each custom resource to produce the value for this column.",
"type": "string"
},
"name": {
- "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
+ "description": "name is a human readable name for the column.",
"type": "string"
},
- "retryAfterSeconds": {
- "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.",
+ "priority": {
+ "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a priority greater than 0.",
"format": "int32",
"type": "integer"
},
- "uid": {
- "description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "type": {
+ "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for details.",
"type": "string"
}
},
+ "required": [
+ "name",
+ "type",
+ "jsonPath"
+ ],
"type": "object"
},
- "v1.WatchEvent": {
- "description": "Event represents a single event to a watched resource.",
+ "v1.CustomResourceConversion": {
+ "description": "CustomResourceConversion describes how to convert different versions of a CR.",
"properties": {
- "object": {
- "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
- "type": "object"
- },
- "type": {
+ "strategy": {
+ "description": "strategy specifies how custom resources are converted between versions. Allowed values are: - `\"None\"`: The converter only change the apiVersion and would not touch any other field in the custom resource. - `\"Webhook\"`: API Server will call to an external webhook to do the conversion. Additional information\n is needed for this option. This requires spec.preserveUnknownFields to be false, and spec.conversion.webhook to be set.",
"type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/v1.WebhookConversion",
+ "description": "webhook describes how to call the conversion webhook. Required when `strategy` is set to `\"Webhook\"`."
}
},
"required": [
- "type",
- "object"
- ],
- "type": "object",
- "x-kubernetes-group-version-kind": [
- {
- "group": "",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "admission.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "admission.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "admissionregistration.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "admissionregistration.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "admissionregistration.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "apiextensions.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "apiextensions.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "apiregistration.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "apiregistration.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "apps",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "apps",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "apps",
- "kind": "WatchEvent",
- "version": "v1beta2"
- },
- {
- "group": "authentication.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "authentication.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "authentication.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "authorization.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "authorization.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "autoscaling",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "autoscaling",
- "kind": "WatchEvent",
- "version": "v2"
- },
- {
- "group": "autoscaling",
- "kind": "WatchEvent",
- "version": "v2beta1"
- },
- {
- "group": "autoscaling",
- "kind": "WatchEvent",
- "version": "v2beta2"
- },
- {
- "group": "batch",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "batch",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "certificates.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "coordination.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "coordination.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "discovery.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "discovery.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "events.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "events.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "extensions",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta2"
- },
- {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta3"
- },
- {
- "group": "imagepolicy.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "internal.apiserver.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "networking.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "networking.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "networking.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "node.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "node.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "node.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "policy",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "policy",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "rbac.authorization.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "resource.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha2"
- },
- {
- "group": "scheduling.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "scheduling.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "scheduling.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "storage.k8s.io",
- "kind": "WatchEvent",
- "version": "v1"
- },
- {
- "group": "storage.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- },
- {
- "group": "storage.k8s.io",
- "kind": "WatchEvent",
- "version": "v1beta1"
- },
- {
- "group": "storagemigration.k8s.io",
- "kind": "WatchEvent",
- "version": "v1alpha1"
- }
- ]
- },
- "intstr.IntOrString": {
- "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
- "format": "int-or-string",
- "type": "object",
- "properties": {
- "value": {
- "type": "string"
- }
- }
- },
- "version.Info": {
- "description": "Info contains versioning information. how we'll want to distribute that information.",
- "properties": {
- "buildDate": {
- "type": "string"
- },
- "compiler": {
- "type": "string"
- },
- "gitCommit": {
- "type": "string"
- },
- "gitTreeState": {
- "type": "string"
- },
- "gitVersion": {
- "type": "string"
- },
- "goVersion": {
- "type": "string"
- },
- "major": {
- "type": "string"
- },
- "minor": {
- "type": "string"
- },
- "platform": {
- "type": "string"
- }
- },
- "required": [
- "major",
- "minor",
- "gitVersion",
- "gitCommit",
- "gitTreeState",
- "buildDate",
- "goVersion",
- "compiler",
- "platform"
+ "strategy"
],
"type": "object"
},
- "v1.APIService": {
- "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".",
+ "v1.CustomResourceDefinition": {
+ "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format <.spec.name>.<.spec.group>.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
@@ -18969,48 +20116,51 @@
},
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta",
- "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
- "$ref": "#/definitions/v1.APIServiceSpec",
- "description": "Spec contains information for locating and communicating with a server"
+ "$ref": "#/definitions/v1.CustomResourceDefinitionSpec",
+ "description": "spec describes how the user wants the resources to appear"
},
"status": {
- "$ref": "#/definitions/v1.APIServiceStatus",
- "description": "Status contains derived information about an API server"
+ "$ref": "#/definitions/v1.CustomResourceDefinitionStatus",
+ "description": "status indicates the actual state of the CustomResourceDefinition"
}
},
+ "required": [
+ "spec"
+ ],
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
"version": "v1"
}
]
},
- "v1.APIServiceCondition": {
- "description": "APIServiceCondition describes the state of an APIService at a particular point",
+ "v1.CustomResourceDefinitionCondition": {
+ "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.",
"properties": {
"lastTransitionTime": {
- "description": "Last time the condition transitioned from one status to another.",
+ "description": "lastTransitionTime last time the condition transitioned from one status to another.",
"format": "date-time",
"type": "string"
},
"message": {
- "description": "Human-readable message indicating details about last transition.",
+ "description": "message is a human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
- "description": "Unique, one-word, CamelCase reason for the condition's last transition.",
+ "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.",
"type": "string"
},
"status": {
- "description": "Status is the status of the condition. Can be True, False, Unknown.",
+ "description": "status is the status of the condition. Can be True, False, Unknown.",
"type": "string"
},
"type": {
- "description": "Type is the type of the condition.",
+ "description": "type is the type of the condition. Types include Established, NamesAccepted and Terminating.",
"type": "string"
}
},
@@ -19020,17 +20170,17 @@
],
"type": "object"
},
- "v1.APIServiceList": {
- "description": "APIServiceList is a list of APIService objects.",
+ "v1.CustomResourceDefinitionList": {
+ "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.",
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
- "description": "Items is the list of APIService",
+ "description": "items list individual CustomResourceDefinition objects",
"items": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
},
"type": "array"
},
@@ -19040,7 +20190,7 @@
},
"metadata": {
"$ref": "#/definitions/v1.ListMeta",
- "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ "description": "Standard object's metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
}
},
"required": [
@@ -19049,1542 +20199,14120 @@
"type": "object",
"x-kubernetes-group-version-kind": [
{
- "group": "apiregistration.k8s.io",
- "kind": "APIServiceList",
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinitionList",
"version": "v1"
}
]
},
- "v1.APIServiceSpec": {
- "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.",
+ "v1.CustomResourceDefinitionNames": {
+ "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition",
"properties": {
- "caBundle": {
- "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.",
- "format": "byte",
- "type": "string",
+ "categories": {
+ "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "kind": {
+ "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.",
+ "type": "string"
+ },
+ "listKind": {
+ "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".",
+ "type": "string"
+ },
+ "plural": {
+ "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.",
+ "type": "string"
+ },
+ "shortNames": {
+ "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
"x-kubernetes-list-type": "atomic"
},
+ "singular": {
+ "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "plural",
+ "kind"
+ ],
+ "type": "object"
+ },
+ "v1.CustomResourceDefinitionSpec": {
+ "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear",
+ "properties": {
+ "conversion": {
+ "$ref": "#/definitions/v1.CustomResourceConversion",
+ "description": "conversion defines conversion settings for the CRD."
+ },
"group": {
- "description": "Group is the API group name this server hosts",
+ "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).",
"type": "string"
},
- "groupPriorityMinimum": {
- "description": "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s",
- "format": "int32",
- "type": "integer"
+ "names": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
+ "description": "names specify the resource and kind names for the custom resource."
},
- "insecureSkipTLSVerify": {
- "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.",
+ "preserveUnknownFields": {
+ "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning for details.",
"type": "boolean"
},
- "service": {
- "$ref": "#/definitions/apiregistration.v1.ServiceReference",
- "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
- },
- "version": {
- "description": "Version is the API version this server hosts. For example, \"v1\"",
+ "scope": {
+ "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.",
"type": "string"
},
- "versionPriority": {
- "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
- "format": "int32",
- "type": "integer"
+ "versions": {
+ "description": "versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
+ "items": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionVersion"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"required": [
- "groupPriorityMinimum",
- "versionPriority"
+ "group",
+ "names",
+ "scope",
+ "versions"
],
"type": "object"
},
- "v1.APIServiceStatus": {
- "description": "APIServiceStatus contains derived information about an API server",
+ "v1.CustomResourceDefinitionStatus": {
+ "description": "CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition",
"properties": {
+ "acceptedNames": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionNames",
+ "description": "acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec."
+ },
"conditions": {
- "description": "Current service state of apiService.",
+ "description": "conditions indicate state for particular aspects of a CustomResourceDefinition",
"items": {
- "$ref": "#/definitions/v1.APIServiceCondition"
+ "$ref": "#/definitions/v1.CustomResourceDefinitionCondition"
},
"type": "array",
"x-kubernetes-list-map-keys": [
"type"
],
- "x-kubernetes-list-type": "map",
- "x-kubernetes-patch-merge-key": "type",
- "x-kubernetes-patch-strategy": "merge"
+ "x-kubernetes-list-type": "map"
+ },
+ "storedVersions": {
+ "description": "storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from `spec.versions` while they exist in this list.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
}
},
"type": "object"
},
- "apiregistration.v1.ServiceReference": {
- "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
- "properties": {
- "name": {
- "description": "Name is the name of the service",
+ "v1.CustomResourceDefinitionVersion": {
+ "description": "CustomResourceDefinitionVersion describes a version for CRD.",
+ "properties": {
+ "additionalPrinterColumns": {
+ "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.",
+ "items": {
+ "$ref": "#/definitions/v1.CustomResourceColumnDefinition"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "deprecated": {
+ "description": "deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.",
+ "type": "boolean"
+ },
+ "deprecationWarning": {
+ "description": "deprecationWarning overrides the default warning returned to API clients. May only be set when `deprecated` is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.",
"type": "string"
},
- "namespace": {
- "description": "Namespace is the namespace of the service",
+ "name": {
+ "description": "name is the version name, e.g. \u201cv1\u201d, \u201cv2beta1\u201d, etc. The custom resources are served under this version at `/apis///...` if `served` is true.",
"type": "string"
},
- "port": {
- "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
- "format": "int32",
- "type": "integer"
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceValidation",
+ "description": "schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource."
+ },
+ "selectableFields": {
+ "description": "selectableFields specifies paths to fields that may be used as field selectors. A maximum of 8 selectable fields are allowed. See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors",
+ "items": {
+ "$ref": "#/definitions/v1.SelectableField"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "served": {
+ "description": "served is a flag enabling/disabling this version from being served via REST APIs",
+ "type": "boolean"
+ },
+ "storage": {
+ "description": "storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.",
+ "type": "boolean"
+ },
+ "subresources": {
+ "$ref": "#/definitions/v1.CustomResourceSubresources",
+ "description": "subresources specify what subresources this version of the defined custom resource have."
}
},
+ "required": [
+ "name",
+ "served",
+ "storage"
+ ],
"type": "object"
- }
- },
- "info": {
- "title": "Kubernetes",
- "version": "v1.30.0"
- },
- "paths": {
- "/api/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available API versions",
- "operationId": "getAPIVersions",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIVersions"
- }
- }
+ },
+ "v1.CustomResourceSubresourceScale": {
+ "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.",
+ "properties": {
+ "labelSelectorPath": {
+ "description": "labelSelectorPath defines the JSON path inside of a custom resource that corresponds to Scale `status.selector`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status` or `.spec`. Must be set to work with HorizontalPodAutoscaler. The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form. More info: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions#scale-subresource If there is no value under the given path in the custom resource, the `status.selector` value in the `/scale` subresource will default to the empty string.",
+ "type": "string"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core"
- ]
- }
+ "specReplicasPath": {
+ "description": "specReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `spec.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.spec`. If there is no value under the given path in the custom resource, the `/scale` subresource will return an error on GET.",
+ "type": "string"
+ },
+ "statusReplicasPath": {
+ "description": "statusReplicasPath defines the JSON path inside of a custom resource that corresponds to Scale `status.replicas`. Only JSON paths without the array notation are allowed. Must be a JSON Path under `.status`. If there is no value under the given path in the custom resource, the `status.replicas` value in the `/scale` subresource will default to 0.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "specReplicasPath",
+ "statusReplicasPath"
+ ],
+ "type": "object"
},
- "/api/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
+ "v1.CustomResourceSubresources": {
+ "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.",
+ "properties": {
+ "scale": {
+ "$ref": "#/definitions/v1.CustomResourceSubresourceScale",
+ "description": "scale indicates the custom resource should serve a `/scale` subresource that returns an `autoscaling/v1` Scale object."
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ]
- }
+ "status": {
+ "description": "status indicates the custom resource should serve a `/status` subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the `status` stanza of the object. 2. requests to the custom resource `/status` subresource ignore changes to anything other than the `status` stanza of the object.",
+ "type": "object"
+ }
+ },
+ "type": "object"
},
- "/api/v1/componentstatuses": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list objects of kind ComponentStatus",
- "operationId": "listComponentStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ComponentStatusList"
- }
- }
+ "v1.CustomResourceValidation": {
+ "description": "CustomResourceValidation is a list of validation methods for CustomResources.",
+ "properties": {
+ "openAPIV3Schema": {
+ "$ref": "#/definitions/v1.JSONSchemaProps",
+ "description": "openAPIV3Schema is the OpenAPI v3 schema to use for validation and pruning."
+ }
+ },
+ "type": "object"
+ },
+ "v1.ExternalDocumentation": {
+ "description": "ExternalDocumentation allows referencing an external resource for extended documentation.",
+ "properties": {
+ "description": {
+ "type": "string"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ComponentStatus",
- "version": "v1"
+ "url": {
+ "type": "string"
}
},
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "type": "object"
+ },
+ "v1.JSONSchemaProps": {
+ "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).",
+ "properties": {
+ "$ref": {
+ "type": "string"
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "$schema": {
+ "type": "string"
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "additionalItems": {
+ "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
+ "type": "object"
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "additionalProperties": {
+ "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property.",
+ "type": "object"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "allOf": {
+ "items": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "anyOf": {
+ "items": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "default": {
+ "description": "default is a default value for undefined object fields. Defaulting is a beta feature under the CustomResourceDefaulting feature gate. Defaulting requires spec.preserveUnknownFields to be false.",
+ "type": "object"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "definitions": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "object"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "dependencies": {
+ "additionalProperties": {
+ "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.",
+ "type": "object"
+ },
+ "type": "object"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "description": {
+ "type": "string"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/componentstatuses/{name}": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ComponentStatus",
- "operationId": "readComponentStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ComponentStatus"
- }
- }
+ "enum": {
+ "items": {
+ "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
+ "type": "object"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ComponentStatus",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the ComponentStatus",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "example": {
+ "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.",
+ "type": "object"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/configmaps": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ConfigMap",
- "operationId": "listConfigMapForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMapList"
- }
- }
+ "exclusiveMaximum": {
+ "type": "boolean"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "exclusiveMinimum": {
+ "type": "boolean"
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "externalDocs": {
+ "$ref": "#/definitions/v1.ExternalDocumentation"
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "format": {
+ "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\\\d{3})\\\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\\\d{3}[- ]?\\\\d{2}[- ]?\\\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.",
+ "type": "string"
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "id": {
+ "type": "string"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "items": {
+ "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.",
+ "type": "object"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "maxItems": {
+ "format": "int64",
+ "type": "integer"
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "maxLength": {
+ "format": "int64",
+ "type": "integer"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "maxProperties": {
+ "format": "int64",
+ "type": "integer"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "maximum": {
+ "format": "double",
+ "type": "number"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "minItems": {
+ "format": "int64",
+ "type": "integer"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/endpoints": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Endpoints",
- "operationId": "listEndpointsForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.EndpointsList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Endpoints",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "minLength": {
+ "format": "int64",
+ "type": "integer"
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "minProperties": {
+ "format": "int64",
+ "type": "integer"
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "minimum": {
+ "format": "double",
+ "type": "number"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "multipleOf": {
+ "format": "double",
+ "type": "number"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "not": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "nullable": {
+ "type": "boolean"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "oneOf": {
+ "items": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "pattern": {
+ "type": "string"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "patternProperties": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "object"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/events": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Event",
- "operationId": "listEventForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/core.v1.EventList"
- }
- }
+ "properties": {
+ "additionalProperties": {
+ "$ref": "#/definitions/v1.JSONSchemaProps"
+ },
+ "type": "object"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Event",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "required": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "title": {
+ "type": "string"
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "type": {
+ "type": "string"
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "uniqueItems": {
+ "type": "boolean"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "x-kubernetes-embedded-resource": {
+ "description": "x-kubernetes-embedded-resource defines that the value is an embedded Kubernetes runtime.Object, with TypeMeta and ObjectMeta. The type must be object. It is allowed to further restrict the embedded object. kind, apiVersion and metadata are validated automatically. x-kubernetes-preserve-unknown-fields is allowed to be true, but does not have to be if the object is fully specified (up to kind, apiVersion, metadata).",
+ "type": "boolean"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "x-kubernetes-int-or-string": {
+ "description": "x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns:\n\n1) anyOf:\n - type: integer\n - type: string\n2) allOf:\n - anyOf:\n - type: integer\n - type: string\n - ... zero or more",
+ "type": "boolean"
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "x-kubernetes-list-map-keys": {
+ "description": "x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map.\n\nThis tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported).\n\nThe properties specified must either be required or have a default value, to ensure those properties are present for all list items.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-kubernetes-list-type": {
+ "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.",
+ "type": "string"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-kubernetes-map-type": {
+ "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.",
+ "type": "string"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-kubernetes-preserve-unknown-fields": {
+ "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.",
+ "type": "boolean"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "x-kubernetes-validations": {
+ "description": "x-kubernetes-validations describes a list of validation rules written in the CEL expression language.",
+ "items": {
+ "$ref": "#/definitions/v1.ValidationRule"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "rule"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "rule",
+ "x-kubernetes-patch-strategy": "merge"
}
- ]
+ },
+ "type": "object"
},
- "/api/v1/limitranges": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind LimitRange",
- "operationId": "listLimitRangeForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.LimitRangeList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "LimitRange",
- "version": "v1"
+ "v1.SelectableField": {
+ "description": "SelectableField specifies the JSON path of a field that may be used with field selectors.",
+ "properties": {
+ "jsonPath": {
+ "description": "jsonPath is a simple JSON path which is evaluated against each custom resource to produce a field selector value. Only JSON paths without the array notation are allowed. Must point to a field of type string, boolean or integer. Types with enum values and strings with formats are allowed. If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string. Must not point to metdata fields. Required.",
+ "type": "string"
}
},
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "required": [
+ "jsonPath"
+ ],
+ "type": "object"
+ },
+ "apiextensions.v1.ServiceReference": {
+ "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
+ "properties": {
+ "name": {
+ "description": "name is the name of the service. Required",
+ "type": "string"
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "namespace": {
+ "description": "namespace is the namespace of the service. Required",
+ "type": "string"
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "path": {
+ "description": "path is an optional URL path at which the webhook will be contacted.",
+ "type": "string"
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "port": {
+ "description": "port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "namespace",
+ "name"
+ ],
+ "type": "object"
+ },
+ "v1.ValidationRule": {
+ "description": "ValidationRule describes a validation rule written in the CEL expression language.",
+ "properties": {
+ "fieldPath": {
+ "description": "fieldPath represents the field path returned when the validation fails. It must be a relative JSON path (i.e. with array notation) scoped to the location of this x-kubernetes-validations extension in the schema and refer to an existing field. e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo` If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList` It does not support list numeric index. It supports child operation to refer to an existing field currently. Refer to [JSONPath support in Kubernetes](https://kubernetes.io/docs/reference/kubectl/jsonpath/) for more info. Numeric index of array is not supported. For field name which contains special characters, use `['specialName']` to refer the field name. e.g. for attribute `foo.34$` appears in a list `testList`, the fieldPath could be set to `.testList['foo.34$']`",
+ "type": "string"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "message": {
+ "description": "Message represents the message displayed when validation fails. The message is required if the Rule contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\"",
+ "type": "string"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "messageExpression": {
+ "description": "MessageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a rule, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the rule; the only difference is the return type. Example: \"x must be less than max (\"+string(self.max)+\")\"",
+ "type": "string"
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "optionalOldSelf": {
+ "description": "optionalOldSelf is used to opt a transition rule into evaluation even when the object is first created, or if the old object is missing the value.\n\nWhen enabled `oldSelf` will be a CEL optional whose value will be `None` if there is no old value, or when the object is initially created.\n\nYou may check for presence of oldSelf using `oldSelf.hasValue()` and unwrap it after checking using `oldSelf.value()`. Check the CEL documentation for Optional types for more information: https://pkg.go.dev/github.com/google/cel-go/cel#OptionalTypes\n\nMay not be set unless `oldSelf` is used in `rule`.",
+ "type": "boolean"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "reason": {
+ "description": "reason provides a machine-readable validation failure reason that is returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.",
+ "type": "string"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "rule": {
+ "description": "Rule represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec The Rule is scoped to the location of the x-kubernetes-validations extension in the schema. The `self` variable in the CEL expression is bound to the scoped value. Example: - Rule scoped to the root of a resource with a status subresource: {\"rule\": \"self.status.actual <= self.spec.maxDesired\"}\n\nIf the Rule is scoped to an object with properties, the accessible properties of the object are field selectable via `self.field` and field presence can be checked via `has(self.field)`. Null valued fields are treated as absent fields in CEL expressions. If the Rule is scoped to an object with additionalProperties (i.e. a map) the value of the map are accessible via `self[mapKey]`, map containment can be checked via `mapKey in self` and all entries of the map are accessible via CEL macros and functions such as `self.all(...)`. If the Rule is scoped to an array, the elements of the array are accessible via `self[i]` and also by macros and functions. If the Rule is scoped to a scalar, `self` is bound to the scalar value. Examples: - Rule scoped to a map of objects: {\"rule\": \"self.components['Widget'].priority < 10\"} - Rule scoped to a list of integers: {\"rule\": \"self.values.all(value, value >= 0 && value < 100)\"} - Rule scoped to a string value: {\"rule\": \"self.startsWith('kube')\"}\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object and from any x-kubernetes-embedded-resource annotated objects. No other metadata properties are accessible.\n\nUnknown data preserved in custom resources via x-kubernetes-preserve-unknown-fields is not accessible in CEL expressions. This includes: - Unknown field values that are preserved by object schemas with x-kubernetes-preserve-unknown-fields. - Object properties where the property schema is of an \"unknown type\". An \"unknown type\" is recursively defined as:\n - A schema with no type and x-kubernetes-preserve-unknown-fields set to true\n - An array where the items schema is of an \"unknown type\"\n - An object where the additionalProperties schema is of an \"unknown type\"\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Rule accessing a property named \"namespace\": {\"rule\": \"self.__namespace__ > 0\"}\n - Rule accessing a property named \"x-prop\": {\"rule\": \"self.x__dash__prop > 0\"}\n - Rule accessing a property named \"redact__d\": {\"rule\": \"self.redact__underscores__d > 0\"}\n\nEquality on arrays with x-kubernetes-list-type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\n\nIf `rule` makes use of the `oldSelf` variable it is implicitly a `transition rule`.\n\nBy default, the `oldSelf` variable is the same type as `self`. When `optionalOldSelf` is true, the `oldSelf` variable is a CEL optional\n variable whose value() is the same type as `self`.\nSee the documentation for the `optionalOldSelf` field for details.\n\nTransition rules by default are applied only on UPDATE requests and are skipped if an old value could not be found. You can opt a transition rule into unconditional evaluation by setting `optionalOldSelf` to true.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rule"
+ ],
+ "type": "object"
+ },
+ "apiextensions.v1.WebhookClientConfig": {
+ "description": "WebhookClientConfig contains the information to make a TLS connection with the webhook.",
+ "properties": {
+ "caBundle": {
+ "description": "caBundle is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.",
+ "format": "byte",
+ "type": "string"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "service": {
+ "$ref": "#/definitions/apiextensions.v1.ServiceReference",
+ "description": "service is a reference to the service for this webhook. Either service or url must be specified.\n\nIf the webhook is running within the cluster, then you should use `service`."
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "url": {
+ "description": "url gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
+ "type": "string"
}
- ]
+ },
+ "type": "object"
},
- "/api/v1/namespaces": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Namespace",
- "operationId": "listNamespace",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "v1.WebhookConversion": {
+ "description": "WebhookConversion describes how to call a conversion webhook",
+ "properties": {
+ "clientConfig": {
+ "$ref": "#/definitions/apiextensions.v1.WebhookClientConfig",
+ "description": "clientConfig is the instructions for how to call the webhook if strategy is `Webhook`."
+ },
+ "conversionReviewVersions": {
+ "description": "conversionReviewVersions is an ordered list of preferred `ConversionReview` versions the Webhook expects. The API server will use the first version in the list which it supports. If none of the versions specified in this list are supported by API server, conversion will fail for the custom resource. If a persisted Webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail.",
+ "items": {
+ "type": "string"
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "conversionReviewVersions"
+ ],
+ "type": "object"
+ },
+ "resource.Quantity": {
+ "description": "Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n``` ::= \n\n\t(Note that may be empty, from the \"\" case in .)\n\n ::= 0 | 1 | ... | 9 ::= | ::= | . | . | . ::= \"+\" | \"-\" ::= | ::= | | ::= Ki | Mi | Gi | Ti | Pi | Ei\n\n\t(International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\n ::= m | \"\" | k | M | G | T | P | E\n\n\t(Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\n ::= \"e\" | \"E\" ```\n\nNo matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that:\n\n- No precision is lost - No fractional digits will be emitted - The exponent (or suffix) is as large as possible.\n\nThe sign will be omitted unless the number is negative.\n\nExamples:\n\n- 1.5 will be serialized as \"1500m\" - 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string"
+ }
+ }
+ },
+ "v1.APIGroup": {
+ "description": "APIGroup contains the name, the supported versions, and the preferred version of a group.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "name": {
+ "description": "name is the name of the group.",
+ "type": "string"
+ },
+ "preferredVersion": {
+ "$ref": "#/definitions/v1.GroupVersionForDiscovery",
+ "description": "preferredVersion is the version preferred by the API server, which probably is the storage version."
+ },
+ "serverAddressByClientCIDRs": {
+ "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
+ "items": {
+ "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.NamespaceList"
- }
- }
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
+ "versions": {
+ "description": "versions are the versions supported in this group.",
+ "items": {
+ "$ref": "#/definitions/v1.GroupVersionForDiscovery"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "name",
+ "versions"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
"group": "",
- "kind": "Namespace",
+ "kind": "APIGroup",
"version": "v1"
}
+ ]
+ },
+ "v1.APIGroupList": {
+ "description": "APIGroupList is a list of APIGroup, to allow clients to discover the API at /apis.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "groups": {
+ "description": "groups is a list of APIGroup.",
+ "items": {
+ "$ref": "#/definitions/v1.APIGroup"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ }
},
- "parameters": [
+ "required": [
+ "groups"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "group": "",
+ "kind": "APIGroupList",
+ "version": "v1"
}
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a Namespace",
- "operationId": "createNamespace",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
+ ]
+ },
+ "v1.APIResource": {
+ "description": "APIResource specifies the name of a resource and whether it is namespaced.",
+ "properties": {
+ "categories": {
+ "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')",
+ "items": {
+ "type": "string"
},
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "group": {
+ "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".",
+ "type": "string"
+ },
+ "kind": {
+ "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')",
+ "type": "string"
+ },
+ "name": {
+ "description": "name is the plural name of the resource.",
+ "type": "string"
+ },
+ "namespaced": {
+ "description": "namespaced indicates if a resource is namespaced or not.",
+ "type": "boolean"
+ },
+ "shortNames": {
+ "description": "shortNames is a list of suggested short names of the resource.",
+ "items": {
+ "type": "string"
},
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "singularName": {
+ "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.",
+ "type": "string"
+ },
+ "storageVersionHash": {
+ "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.",
+ "type": "string"
+ },
+ "verbs": {
+ "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)",
+ "items": {
+ "type": "string"
},
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
+ "type": "array"
+ },
+ "version": {
+ "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "singularName",
+ "namespaced",
+ "kind",
+ "verbs"
+ ],
+ "type": "object"
+ },
+ "v1.APIResourceList": {
+ "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "groupVersion": {
+ "description": "groupVersion is the group and version this APIResourceList is for.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "resources": {
+ "description": "resources contains the name of the resources and if they are namespaced.",
+ "items": {
+ "$ref": "#/definitions/v1.APIResource"
},
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "groupVersion",
+ "resources"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "",
+ "kind": "APIResourceList",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.APIVersions": {
+ "description": "APIVersions lists the versions that are available, to allow clients to discover the API at /api, which is the root path of the legacy v1 API.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "serverAddressByClientCIDRs": {
+ "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.",
+ "items": {
+ "$ref": "#/definitions/v1.ServerAddressByClientCIDR"
},
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- }
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
+ "versions": {
+ "description": "versions are the api versions that are available.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "versions",
+ "serverAddressByClientCIDRs"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
"group": "",
- "kind": "Namespace",
+ "kind": "APIVersions",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/bindings": {
- "parameters": [
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
+ "v1.Condition": {
+ "description": "Condition contains details for one aspect of the current state of this API Resource.",
+ "properties": {
+ "lastTransitionTime": {
+ "description": "lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.",
+ "format": "date-time",
+ "type": "string"
},
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
+ "message": {
+ "description": "message is a human readable message indicating details about the transition. This may be an empty string.",
+ "type": "string"
},
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
+ "observedGeneration": {
+ "description": "observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.",
+ "format": "int64",
+ "type": "integer"
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "reason": {
+ "description": "reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.",
+ "type": "string"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
+ "status": {
+ "description": "status of the condition, one of True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
+ "type": "string"
}
+ },
+ "required": [
+ "type",
+ "status",
+ "lastTransitionTime",
+ "reason",
+ "message"
],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a Binding",
- "operationId": "createNamespacedBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
+ "type": "object"
+ },
+ "v1.DeleteOptions": {
+ "description": "DeleteOptions may be provided when deleting an API object.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "dryRun": {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "items": {
+ "type": "string"
},
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- }
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
+ "gracePeriodSeconds": {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "ignoreStoreReadErrorWithClusterBreakingPotential": {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "orphanDependents": {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "type": "boolean"
+ },
+ "preconditions": {
+ "$ref": "#/definitions/v1.Preconditions",
+ "description": "Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned."
+ },
+ "propagationPolicy": {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
"group": "",
- "kind": "Binding",
+ "kind": "DeleteOptions",
"version": "v1"
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/configmaps": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ConfigMap",
- "operationId": "deleteCollectionNamespacedConfigMap",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "group": "admission.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
+ {
+ "group": "admission.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "admissionregistration.k8s.io",
+ "kind": "DeleteOptions",
"version": "v1"
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ConfigMap",
- "operationId": "listNamespacedConfigMap",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMapList"
- }
- }
+ {
+ "group": "admissionregistration.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
+ {
+ "group": "admissionregistration.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "apiextensions.k8s.io",
+ "kind": "DeleteOptions",
"version": "v1"
- }
- },
- "parameters": [
+ },
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "group": "apiextensions.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a ConfigMap",
- "operationId": "createNamespacedConfigMap",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- }
+ "group": "apiregistration.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
+ {
+ "group": "apiregistration.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "apps",
+ "kind": "DeleteOptions",
"version": "v1"
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/configmaps/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ConfigMap",
- "operationId": "deleteNamespacedConfigMap",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "group": "apps",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
+ {
+ "group": "apps",
+ "kind": "DeleteOptions",
+ "version": "v1beta2"
+ },
+ {
+ "group": "authentication.k8s.io",
+ "kind": "DeleteOptions",
"version": "v1"
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ConfigMap",
- "operationId": "readNamespacedConfigMap",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ConfigMap"
- }
- }
+ {
+ "group": "authentication.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ConfigMap",
+ {
+ "group": "authentication.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "authorization.k8s.io",
+ "kind": "DeleteOptions",
"version": "v1"
- }
- },
- "parameters": [
+ },
{
- "description": "name of the ConfigMap",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "group": "authorization.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "group": "autoscaling",
+ "kind": "DeleteOptions",
+ "version": "v1"
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "group": "autoscaling",
+ "kind": "DeleteOptions",
+ "version": "v2"
+ },
+ {
+ "group": "autoscaling",
+ "kind": "DeleteOptions",
+ "version": "v2beta1"
+ },
+ {
+ "group": "autoscaling",
+ "kind": "DeleteOptions",
+ "version": "v2beta2"
+ },
+ {
+ "group": "batch",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "batch",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "certificates.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "certificates.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "certificates.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "coordination.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "coordination.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha2"
+ },
+ {
+ "group": "coordination.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "discovery.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "discovery.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "events.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "events.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "extensions",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta2"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta3"
+ },
+ {
+ "group": "imagepolicy.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "networking.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "networking.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "node.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "node.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "node.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "policy",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "policy",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha3"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta2"
+ },
+ {
+ "group": "scheduling.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "scheduling.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "scheduling.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "storage.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1"
+ },
+ {
+ "group": "storage.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "storage.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1beta1"
+ },
+ {
+ "group": "storagemigration.k8s.io",
+ "kind": "DeleteOptions",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "v1.FieldSelectorRequirement": {
+ "description": "FieldSelectorRequirement is a selector that contains values, a key, and an operator that relates the key and values.",
+ "properties": {
+ "key": {
+ "description": "key is the field selector key that the requirement applies to.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. The list of operators may grow in the future.",
+ "type": "string"
+ },
+ "values": {
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "key",
+ "operator"
+ ],
+ "type": "object"
+ },
+ "v1.GroupVersionForDiscovery": {
+ "description": "GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.",
+ "properties": {
+ "groupVersion": {
+ "description": "groupVersion specifies the API group and version in the form \"group/version\"",
+ "type": "string"
+ },
+ "version": {
+ "description": "version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "groupVersion",
+ "version"
+ ],
+ "type": "object"
+ },
+ "v1.LabelSelector": {
+ "description": "A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.",
+ "properties": {
+ "matchExpressions": {
+ "description": "matchExpressions is a list of label selector requirements. The requirements are ANDed.",
+ "items": {
+ "$ref": "#/definitions/v1.LabelSelectorRequirement"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "matchLabels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed.",
+ "type": "object"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
+ "v1.LabelSelectorRequirement": {
+ "description": "A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.",
+ "properties": {
+ "key": {
+ "description": "key is the label key that the selector applies to.",
+ "type": "string"
+ },
+ "operator": {
+ "description": "operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.",
+ "type": "string"
+ },
+ "values": {
+ "description": "values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ }
+ },
+ "required": [
+ "key",
+ "operator"
+ ],
+ "type": "object"
+ },
+ "v1.ListMeta": {
+ "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.",
+ "properties": {
+ "continue": {
+ "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a consistent list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response, unless you have received this token from an error message.",
+ "type": "string"
+ },
+ "remainingItemCount": {
+ "description": "remainingItemCount is the number of subsequent items in the list which are not included in this list response. If the list request contained label or field selectors, then the number of remaining items is unknown and the field will be left unset and omitted during serialization. If the list is complete (either because it is not chunking or because this is the last chunk), then there are no more remaining items and this field will be left unset and omitted during serialization. Servers older than v1.15 do not set this field. The intended use of the remainingItemCount is *estimating* the size of a collection. Clients should not rely on the remainingItemCount to be set or to be exact.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "resourceVersion": {
+ "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.ManagedFieldsEntry": {
+ "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.",
+ "type": "string"
+ },
+ "fieldsType": {
+ "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"",
+ "type": "string"
+ },
+ "fieldsV1": {
+ "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.",
+ "type": "object"
+ },
+ "manager": {
+ "description": "Manager is an identifier of the workflow managing these fields.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.",
+ "type": "string"
+ },
+ "subresource": {
+ "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.",
+ "type": "string"
+ },
+ "time": {
+ "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.",
+ "format": "date-time",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.ObjectMeta": {
+ "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.",
+ "properties": {
+ "annotations": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations",
+ "type": "object"
+ },
+ "creationTimestamp": {
+ "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
+ "format": "date-time",
+ "type": "string"
+ },
+ "deletionGracePeriodSeconds": {
+ "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "deletionTimestamp": {
+ "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
+ "format": "date-time",
+ "type": "string"
+ },
+ "finalizers": {
+ "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "set",
+ "x-kubernetes-patch-strategy": "merge"
+ },
+ "generateName": {
+ "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency",
+ "type": "string"
+ },
+ "generation": {
+ "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
+ "format": "int64",
+ "type": "integer"
+ },
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels",
+ "type": "object"
+ },
+ "managedFields": {
+ "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.",
+ "items": {
+ "$ref": "#/definitions/v1.ManagedFieldsEntry"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "name": {
+ "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces",
+ "type": "string"
+ },
+ "ownerReferences": {
+ "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.",
+ "items": {
+ "$ref": "#/definitions/v1.OwnerReference"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "uid"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "uid",
+ "x-kubernetes-patch-strategy": "merge"
+ },
+ "resourceVersion": {
+ "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency",
+ "type": "string"
+ },
+ "selfLink": {
+ "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.",
+ "type": "string"
+ },
+ "uid": {
+ "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.OwnerReference": {
+ "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.",
+ "properties": {
+ "apiVersion": {
+ "description": "API version of the referent.",
+ "type": "string"
+ },
+ "blockOwnerDeletion": {
+ "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.",
+ "type": "boolean"
+ },
+ "controller": {
+ "description": "If true, this reference points to the managing controller.",
+ "type": "boolean"
+ },
+ "kind": {
+ "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "name": {
+ "description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names",
+ "type": "string"
+ },
+ "uid": {
+ "description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "type": "string"
+ }
+ },
+ "required": [
+ "apiVersion",
+ "kind",
+ "name",
+ "uid"
+ ],
+ "type": "object",
+ "x-kubernetes-map-type": "atomic"
+ },
+ "v1.Patch": {
+ "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.",
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "object"
+ }
+ }
+ },
+ "v1.Preconditions": {
+ "description": "Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out.",
+ "properties": {
+ "resourceVersion": {
+ "description": "Specifies the target ResourceVersion",
+ "type": "string"
+ },
+ "uid": {
+ "description": "Specifies the target UID.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.ServerAddressByClientCIDR": {
+ "description": "ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.",
+ "properties": {
+ "clientCIDR": {
+ "description": "The CIDR with which clients can match their IP to figure out the server address that they should use.",
+ "type": "string"
+ },
+ "serverAddress": {
+ "description": "Address of this server, suitable for a client that matches the above CIDR. This can be a hostname, hostname:port, IP or IP:port.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "clientCIDR",
+ "serverAddress"
+ ],
+ "type": "object"
+ },
+ "v1.Status": {
+ "description": "Status is a return value for calls that don't return other objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "code": {
+ "description": "Suggested HTTP return code for this status, 0 if not set.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "details": {
+ "$ref": "#/definitions/v1.StatusDetails",
+ "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable description of the status of this operation.",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
+ },
+ "reason": {
+ "description": "A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status of the operation. One of: \"Success\" or \"Failure\". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
+ "type": "string"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "",
+ "kind": "Status",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.StatusCause": {
+ "description": "StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
+ "properties": {
+ "field": {
+ "description": "The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.\n\nExamples:\n \"name\" - the field \"name\" on the current resource\n \"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "A machine-readable description of the cause of the error. If this value is empty there is no information available.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.StatusDetails": {
+ "description": "StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
+ "properties": {
+ "causes": {
+ "description": "The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
+ "items": {
+ "$ref": "#/definitions/v1.StatusCause"
+ },
+ "type": "array",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "group": {
+ "description": "The group attribute of the resource associated with the status StatusReason.",
+ "type": "string"
+ },
+ "kind": {
+ "description": "The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
+ "type": "string"
+ },
+ "retryAfterSeconds": {
+ "description": "If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "uid": {
+ "description": "UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "v1.WatchEvent": {
+ "description": "Event represents a single event to a watched resource.",
+ "properties": {
+ "object": {
+ "description": "Object is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *Status is recommended; other types may make sense\n depending on context.",
+ "type": "object"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "object"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "admission.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "admission.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "admissionregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "admissionregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "admissionregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "apiextensions.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "apiextensions.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "apiregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "apiregistration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "apps",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "apps",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "apps",
+ "kind": "WatchEvent",
+ "version": "v1beta2"
+ },
+ {
+ "group": "authentication.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "authentication.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "authentication.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v2"
+ },
+ {
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v2beta1"
+ },
+ {
+ "group": "autoscaling",
+ "kind": "WatchEvent",
+ "version": "v2beta2"
+ },
+ {
+ "group": "batch",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "batch",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "certificates.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "certificates.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "certificates.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "coordination.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "coordination.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha2"
+ },
+ {
+ "group": "coordination.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "discovery.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "discovery.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "events.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "events.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "extensions",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta2"
+ },
+ {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta3"
+ },
+ {
+ "group": "imagepolicy.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "networking.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "networking.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "node.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "node.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "node.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "policy",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "policy",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha3"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "resource.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta2"
+ },
+ {
+ "group": "scheduling.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "scheduling.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "scheduling.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "storage.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1"
+ },
+ {
+ "group": "storage.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ },
+ {
+ "group": "storage.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1beta1"
+ },
+ {
+ "group": "storagemigration.k8s.io",
+ "kind": "WatchEvent",
+ "version": "v1alpha1"
+ }
+ ]
+ },
+ "intstr.IntOrString": {
+ "description": "IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.",
+ "format": "int-or-string",
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "string"
+ }
+ }
+ },
+ "version.Info": {
+ "description": "Info contains versioning information. how we'll want to distribute that information.",
+ "properties": {
+ "buildDate": {
+ "type": "string"
+ },
+ "compiler": {
+ "type": "string"
+ },
+ "emulationMajor": {
+ "description": "EmulationMajor is the major version of the emulation version",
+ "type": "string"
+ },
+ "emulationMinor": {
+ "description": "EmulationMinor is the minor version of the emulation version",
+ "type": "string"
+ },
+ "gitCommit": {
+ "type": "string"
+ },
+ "gitTreeState": {
+ "type": "string"
+ },
+ "gitVersion": {
+ "type": "string"
+ },
+ "goVersion": {
+ "type": "string"
+ },
+ "major": {
+ "description": "Major is the major version of the binary version",
+ "type": "string"
+ },
+ "minCompatibilityMajor": {
+ "description": "MinCompatibilityMajor is the major version of the minimum compatibility version",
+ "type": "string"
+ },
+ "minCompatibilityMinor": {
+ "description": "MinCompatibilityMinor is the minor version of the minimum compatibility version",
+ "type": "string"
+ },
+ "minor": {
+ "description": "Minor is the minor version of the binary version",
+ "type": "string"
+ },
+ "platform": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "major",
+ "minor",
+ "gitVersion",
+ "gitCommit",
+ "gitTreeState",
+ "buildDate",
+ "goVersion",
+ "compiler",
+ "platform"
+ ],
+ "type": "object"
+ },
+ "v1.APIService": {
+ "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ObjectMeta",
+ "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ },
+ "spec": {
+ "$ref": "#/definitions/v1.APIServiceSpec",
+ "description": "Spec contains information for locating and communicating with a server"
+ },
+ "status": {
+ "$ref": "#/definitions/v1.APIServiceStatus",
+ "description": "Status contains derived information about an API server"
+ }
+ },
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.APIServiceCondition": {
+ "description": "APIServiceCondition describes the state of an APIService at a particular point",
+ "properties": {
+ "lastTransitionTime": {
+ "description": "Last time the condition transitioned from one status to another.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "message": {
+ "description": "Human-readable message indicating details about last transition.",
+ "type": "string"
+ },
+ "reason": {
+ "description": "Unique, one-word, CamelCase reason for the condition's last transition.",
+ "type": "string"
+ },
+ "status": {
+ "description": "Status is the status of the condition. Can be True, False, Unknown.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Type is the type of the condition.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "status"
+ ],
+ "type": "object"
+ },
+ "v1.APIServiceList": {
+ "description": "APIServiceList is a list of APIService objects.",
+ "properties": {
+ "apiVersion": {
+ "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
+ "type": "string"
+ },
+ "items": {
+ "description": "Items is the list of APIService",
+ "items": {
+ "$ref": "#/definitions/v1.APIService"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "type": "string"
+ },
+ "metadata": {
+ "$ref": "#/definitions/v1.ListMeta",
+ "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
+ }
+ },
+ "required": [
+ "items"
+ ],
+ "type": "object",
+ "x-kubernetes-group-version-kind": [
+ {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIServiceList",
+ "version": "v1"
+ }
+ ]
+ },
+ "v1.APIServiceSpec": {
+ "description": "APIServiceSpec contains information for locating and communicating with a server. Only https is supported, though you are able to disable certificate verification.",
+ "properties": {
+ "caBundle": {
+ "description": "CABundle is a PEM encoded CA bundle which will be used to validate an API server's serving certificate. If unspecified, system trust roots on the apiserver are used.",
+ "format": "byte",
+ "type": "string",
+ "x-kubernetes-list-type": "atomic"
+ },
+ "group": {
+ "description": "Group is the API group name this server hosts",
+ "type": "string"
+ },
+ "groupPriorityMinimum": {
+ "description": "GroupPriorityMinimum is the priority this group should have at least. Higher priority means that the group is preferred by clients over lower priority ones. Note that other versions of this group might specify even higher GroupPriorityMinimum values such that the whole group gets a higher priority. The primary sort is based on GroupPriorityMinimum, ordered highest number to lowest (20 before 10). The secondary sort is based on the alphabetical comparison of the name of the object. (v1.bar before v1.foo) We'd recommend something like: *.k8s.io (except extensions) at 18000 and PaaSes (OpenShift, Deis) are recommended to be in the 2000s",
+ "format": "int32",
+ "type": "integer"
+ },
+ "insecureSkipTLSVerify": {
+ "description": "InsecureSkipTLSVerify disables TLS certificate verification when communicating with this server. This is strongly discouraged. You should use the CABundle instead.",
+ "type": "boolean"
+ },
+ "service": {
+ "$ref": "#/definitions/apiregistration.v1.ServiceReference",
+ "description": "Service is a reference to the service for this API server. It must communicate on port 443. If the Service is nil, that means the handling for the API groupversion is handled locally on this server. The call will simply delegate to the normal handler chain to be fulfilled."
+ },
+ "version": {
+ "description": "Version is the API version this server hosts. For example, \"v1\"",
+ "type": "string"
+ },
+ "versionPriority": {
+ "description": "VersionPriority controls the ordering of this API version inside of its group. Must be greater than zero. The primary sort is based on VersionPriority, ordered highest to lowest (20 before 10). Since it's inside of a group, the number can be small, probably in the 10s. In case of equal version priorities, the version string will be used to compute the order inside a group. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "groupPriorityMinimum",
+ "versionPriority"
+ ],
+ "type": "object"
+ },
+ "v1.APIServiceStatus": {
+ "description": "APIServiceStatus contains derived information about an API server",
+ "properties": {
+ "conditions": {
+ "description": "Current service state of apiService.",
+ "items": {
+ "$ref": "#/definitions/v1.APIServiceCondition"
+ },
+ "type": "array",
+ "x-kubernetes-list-map-keys": [
+ "type"
+ ],
+ "x-kubernetes-list-type": "map",
+ "x-kubernetes-patch-merge-key": "type",
+ "x-kubernetes-patch-strategy": "merge"
+ }
+ },
+ "type": "object"
+ },
+ "apiregistration.v1.ServiceReference": {
+ "description": "ServiceReference holds a reference to Service.legacy.k8s.io",
+ "properties": {
+ "name": {
+ "description": "Name is the name of the service",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "Namespace is the namespace of the service",
+ "type": "string"
+ },
+ "port": {
+ "description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "info": {
+ "title": "Kubernetes",
+ "version": "v1.34.0"
+ },
+ "paths": {
+ "/api/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get available API versions",
+ "operationId": "getAPIVersions",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIVersions"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core"
+ ]
+ }
+ },
+ "/api/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ]
+ }
+ },
+ "/api/v1/componentstatuses": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list objects of kind ComponentStatus",
+ "operationId": "listComponentStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ComponentStatusList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ComponentStatus",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/componentstatuses/{name}": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ComponentStatus",
+ "operationId": "readComponentStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ComponentStatus"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ComponentStatus",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ComponentStatus",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/configmaps": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ConfigMap",
+ "operationId": "listConfigMapForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMapList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/endpoints": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Endpoints",
+ "operationId": "listEndpointsForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.EndpointsList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/events": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Event",
+ "operationId": "listEventForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/core.v1.EventList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/limitranges": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind LimitRange",
+ "operationId": "listLimitRangeForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRangeList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/namespaces": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Namespace",
+ "operationId": "listNamespace",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NamespaceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Namespace",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a Namespace",
+ "operationId": "createNamespace",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Namespace"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Namespace"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Namespace"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Namespace"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Namespace",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/bindings": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a Binding",
+ "operationId": "createNamespacedBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Binding",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/configmaps": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ConfigMap",
+ "operationId": "deleteCollectionNamespacedConfigMap",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ConfigMap",
+ "operationId": "listNamespacedConfigMap",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMapList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ConfigMap",
+ "operationId": "createNamespacedConfigMap",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/configmaps/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ConfigMap",
+ "operationId": "deleteNamespacedConfigMap",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ConfigMap",
+ "operationId": "readNamespacedConfigMap",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ConfigMap",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ConfigMap",
+ "operationId": "patchNamespacedConfigMap",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ConfigMap",
+ "operationId": "replaceNamespacedConfigMap",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ConfigMap"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ConfigMap",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/endpoints": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of Endpoints",
+ "operationId": "deleteCollectionNamespacedEndpoints",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Endpoints",
+ "operationId": "listNamespacedEndpoints",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.EndpointsList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create Endpoints",
+ "operationId": "createNamespacedEndpoints",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/endpoints/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete Endpoints",
+ "operationId": "deleteNamespacedEndpoints",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Endpoints",
+ "operationId": "readNamespacedEndpoints",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Endpoints",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Endpoints",
+ "operationId": "patchNamespacedEndpoints",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified Endpoints",
+ "operationId": "replaceNamespacedEndpoints",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Endpoints"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Endpoints",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/events": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of Event",
+ "operationId": "deleteCollectionNamespacedEvent",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Event",
+ "operationId": "listNamespacedEvent",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/core.v1.EventList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create an Event",
+ "operationId": "createNamespacedEvent",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/events/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete an Event",
+ "operationId": "deleteNamespacedEvent",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Event",
+ "operationId": "readNamespacedEvent",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Event",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Event",
+ "operationId": "patchNamespacedEvent",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified Event",
+ "operationId": "replaceNamespacedEvent",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/core.v1.Event"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Event",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/limitranges": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of LimitRange",
+ "operationId": "deleteCollectionNamespacedLimitRange",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind LimitRange",
+ "operationId": "listNamespacedLimitRange",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRangeList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a LimitRange",
+ "operationId": "createNamespacedLimitRange",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/limitranges/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a LimitRange",
+ "operationId": "deleteNamespacedLimitRange",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified LimitRange",
+ "operationId": "readNamespacedLimitRange",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the LimitRange",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified LimitRange",
+ "operationId": "patchNamespacedLimitRange",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified LimitRange",
+ "operationId": "replaceNamespacedLimitRange",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.LimitRange"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "LimitRange",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/persistentvolumeclaims": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of PersistentVolumeClaim",
+ "operationId": "deleteCollectionNamespacedPersistentVolumeClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PersistentVolumeClaim",
+ "operationId": "listNamespacedPersistentVolumeClaim",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaimList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a PersistentVolumeClaim",
+ "operationId": "createNamespacedPersistentVolumeClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a PersistentVolumeClaim",
+ "operationId": "deleteNamespacedPersistentVolumeClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PersistentVolumeClaim",
+ "operationId": "readNamespacedPersistentVolumeClaim",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PersistentVolumeClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PersistentVolumeClaim",
+ "operationId": "patchNamespacedPersistentVolumeClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PersistentVolumeClaim",
+ "operationId": "replaceNamespacedPersistentVolumeClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified PersistentVolumeClaim",
+ "operationId": "readNamespacedPersistentVolumeClaimStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PersistentVolumeClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified PersistentVolumeClaim",
+ "operationId": "patchNamespacedPersistentVolumeClaimStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified PersistentVolumeClaim",
+ "operationId": "replaceNamespacedPersistentVolumeClaimStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of Pod",
+ "operationId": "deleteCollectionNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Pod",
+ "operationId": "listNamespacedPod",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a Pod",
+ "operationId": "createNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a Pod",
+ "operationId": "deleteNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Pod",
+ "operationId": "readNamespacedPod",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Pod",
+ "operationId": "patchNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified Pod",
+ "operationId": "replaceNamespacedPod",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/attach": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to attach of Pod",
+ "operationId": "connectGetNamespacedPodAttach",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodAttachOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
+ "in": "query",
+ "name": "container",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PodAttachOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
+ "in": "query",
+ "name": "stderr",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
+ "in": "query",
+ "name": "stdin",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
+ "in": "query",
+ "name": "stdout",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.",
+ "in": "query",
+ "name": "tty",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to attach of Pod",
+ "operationId": "connectPostNamespacedPodAttach",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodAttachOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/binding": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Binding",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create binding of a Pod",
+ "operationId": "createNamespacedPodBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Binding"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Binding",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read ephemeralcontainers of the specified Pod",
+ "operationId": "readNamespacedPodEphemeralcontainers",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update ephemeralcontainers of the specified Pod",
+ "operationId": "patchNamespacedPodEphemeralcontainers",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace ephemeralcontainers of the specified Pod",
+ "operationId": "replaceNamespacedPodEphemeralcontainers",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/eviction": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Eviction",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create eviction of a Pod",
+ "operationId": "createNamespacedPodEviction",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Eviction"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "Eviction",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/exec": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to exec of Pod",
+ "operationId": "connectGetNamespacedPodExec",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodExecOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "Command is the remote command to execute. argv array. Not executed within a shell.",
+ "in": "query",
+ "name": "command",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
+ "in": "query",
+ "name": "container",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PodExecOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Redirect the standard error stream of the pod for this call.",
+ "in": "query",
+ "name": "stderr",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Redirect the standard input stream of the pod for this call. Defaults to false.",
+ "in": "query",
+ "name": "stdin",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Redirect the standard output stream of the pod for this call.",
+ "in": "query",
+ "name": "stdout",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
+ "in": "query",
+ "name": "tty",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to exec of Pod",
+ "operationId": "connectPostNamespacedPodExec",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodExecOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/log": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read log of the specified Pod",
+ "operationId": "readNamespacedPodLog",
+ "produces": [
+ "text/plain",
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
+ "in": "query",
+ "name": "container",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Follow the log stream of the pod. Defaults to false.",
+ "in": "query",
+ "name": "follow",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).",
+ "in": "query",
+ "name": "insecureSkipTLSVerifyBackend",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.",
+ "in": "query",
+ "name": "limitBytes",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Return previous terminated container logs. Defaults to false.",
+ "in": "query",
+ "name": "previous",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
+ "in": "query",
+ "name": "sinceSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Specify which container log stream to return to the client. Acceptable values are \"All\", \"Stdout\" and \"Stderr\". If not specified, \"All\" is used, and both stdout and stderr are returned interleaved. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
+ "in": "query",
+ "name": "stream",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime. Note that when \"TailLines\" is specified, \"Stream\" can only be set to nil or \"All\".",
+ "in": "query",
+ "name": "tailLines",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
+ "in": "query",
+ "name": "timestamps",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/portforward": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to portforward of Pod",
+ "operationId": "connectGetNamespacedPodPortforward",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodPortForwardOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PodPortForwardOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "List of ports to forward Required when using WebSockets",
+ "in": "query",
+ "name": "ports",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to portforward of Pod",
+ "operationId": "connectPostNamespacedPodPortforward",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodPortForwardOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/proxy": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect DELETE requests to proxy of Pod",
+ "operationId": "connectDeleteNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to proxy of Pod",
+ "operationId": "connectGetNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "head": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect HEAD requests to proxy of Pod",
+ "operationId": "connectHeadNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "options": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect OPTIONS requests to proxy of Pod",
+ "operationId": "connectOptionsNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PodProxyOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Path is the URL path to use for the current proxy request to pod.",
+ "in": "query",
+ "name": "path",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PATCH requests to proxy of Pod",
+ "operationId": "connectPatchNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to proxy of Pod",
+ "operationId": "connectPostNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PUT requests to proxy of Pod",
+ "operationId": "connectPutNamespacedPodProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect DELETE requests to proxy of Pod",
+ "operationId": "connectDeleteNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to proxy of Pod",
+ "operationId": "connectGetNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "head": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect HEAD requests to proxy of Pod",
+ "operationId": "connectHeadNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "options": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect OPTIONS requests to proxy of Pod",
+ "operationId": "connectOptionsNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PodProxyOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "path to the resource",
+ "in": "path",
+ "name": "path",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Path is the URL path to use for the current proxy request to pod.",
+ "in": "query",
+ "name": "path",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PATCH requests to proxy of Pod",
+ "operationId": "connectPatchNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to proxy of Pod",
+ "operationId": "connectPostNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PUT requests to proxy of Pod",
+ "operationId": "connectPutNamespacedPodProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodProxyOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/resize": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read resize of the specified Pod",
+ "operationId": "readNamespacedPodResize",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update resize of the specified Pod",
+ "operationId": "patchNamespacedPodResize",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace resize of the specified Pod",
+ "operationId": "replaceNamespacedPodResize",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/pods/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified Pod",
+ "operationId": "readNamespacedPodStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Pod",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified Pod",
+ "operationId": "patchNamespacedPodStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified Pod",
+ "operationId": "replaceNamespacedPodStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Pod"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/podtemplates": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of PodTemplate",
+ "operationId": "deleteCollectionNamespacedPodTemplate",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PodTemplate",
+ "operationId": "listNamespacedPodTemplate",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplateList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a PodTemplate",
+ "operationId": "createNamespacedPodTemplate",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/podtemplates/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a PodTemplate",
+ "operationId": "deleteNamespacedPodTemplate",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PodTemplate",
+ "operationId": "readNamespacedPodTemplate",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PodTemplate",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PodTemplate",
+ "operationId": "patchNamespacedPodTemplate",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PodTemplate",
+ "operationId": "replaceNamespacedPodTemplate",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplate"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/replicationcontrollers": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ReplicationController",
+ "operationId": "deleteCollectionNamespacedReplicationController",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ReplicationController",
+ "operationId": "listNamespacedReplicationController",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationControllerList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ReplicationController",
+ "operationId": "createNamespacedReplicationController",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ReplicationController",
+ "operationId": "deleteNamespacedReplicationController",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ReplicationController",
+ "operationId": "readNamespacedReplicationController",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ReplicationController",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ReplicationController",
+ "operationId": "patchNamespacedReplicationController",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ReplicationController",
+ "operationId": "replaceNamespacedReplicationController",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read scale of the specified ReplicationController",
+ "operationId": "readNamespacedReplicationControllerScale",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Scale",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update scale of the specified ReplicationController",
+ "operationId": "patchNamespacedReplicationControllerScale",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace scale of the specified ReplicationController",
+ "operationId": "replaceNamespacedReplicationControllerScale",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified ReplicationController",
+ "operationId": "readNamespacedReplicationControllerStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ReplicationController",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified ReplicationController",
+ "operationId": "patchNamespacedReplicationControllerStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ReplicationController",
+ "operationId": "replaceNamespacedReplicationControllerStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicationController"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ReplicationController",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/resourcequotas": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ResourceQuota",
+ "operationId": "deleteCollectionNamespacedResourceQuota",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceQuota",
+ "operationId": "listNamespacedResourceQuota",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuotaList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ResourceQuota",
+ "operationId": "createNamespacedResourceQuota",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/resourcequotas/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ResourceQuota",
+ "operationId": "deleteNamespacedResourceQuota",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ResourceQuota",
+ "operationId": "readNamespacedResourceQuota",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ResourceQuota",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ResourceQuota",
+ "operationId": "patchNamespacedResourceQuota",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ResourceQuota",
+ "operationId": "replaceNamespacedResourceQuota",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified ResourceQuota",
+ "operationId": "readNamespacedResourceQuotaStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ResourceQuota",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified ResourceQuota",
+ "operationId": "patchNamespacedResourceQuotaStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ResourceQuota",
+ "operationId": "replaceNamespacedResourceQuotaStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceQuota"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ResourceQuota",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/secrets": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of Secret",
+ "operationId": "deleteCollectionNamespacedSecret",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Secret",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Secret",
+ "operationId": "listNamespacedSecret",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.SecretList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Secret",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a Secret",
+ "operationId": "createNamespacedSecret",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Secret",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/secrets/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a Secret",
+ "operationId": "deleteNamespacedSecret",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Secret",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Secret",
+ "operationId": "readNamespacedSecret",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Secret",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Secret",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Secret",
+ "operationId": "patchNamespacedSecret",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Secret",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified Secret",
+ "operationId": "replaceNamespacedSecret",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Secret"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Secret",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/serviceaccounts": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ServiceAccount",
+ "operationId": "deleteCollectionNamespacedServiceAccount",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceAccount",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ServiceAccount",
+ "operationId": "listNamespacedServiceAccount",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccountList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceAccount",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ServiceAccount",
+ "operationId": "createNamespacedServiceAccount",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceAccount",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/serviceaccounts/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ServiceAccount",
+ "operationId": "deleteNamespacedServiceAccount",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceAccount",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ServiceAccount",
+ "operationId": "readNamespacedServiceAccount",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceAccount",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ServiceAccount",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ServiceAccount",
+ "operationId": "patchNamespacedServiceAccount",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceAccount",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ServiceAccount",
+ "operationId": "replaceNamespacedServiceAccount",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceAccount"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceAccount",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the TokenRequest",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create token of a ServiceAccount",
+ "operationId": "createNamespacedServiceAccountToken",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/authentication.v1.TokenRequest"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/authentication.v1.TokenRequest"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/authentication.v1.TokenRequest"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/authentication.v1.TokenRequest"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "authentication.k8s.io",
+ "kind": "TokenRequest",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/services": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of Service",
+ "operationId": "deleteCollectionNamespacedService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Service",
+ "operationId": "listNamespacedService",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ServiceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a Service",
+ "operationId": "createNamespacedService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/services/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a Service",
+ "operationId": "deleteNamespacedService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Service",
+ "operationId": "readNamespacedService",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Service",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Service",
+ "operationId": "patchNamespacedService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified Service",
+ "operationId": "replaceNamespacedService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/namespaces/{namespace}/services/{name}/proxy": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect DELETE requests to proxy of Service",
+ "operationId": "connectDeleteNamespacedServiceProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to proxy of Service",
+ "operationId": "connectGetNamespacedServiceProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "head": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect HEAD requests to proxy of Service",
+ "operationId": "connectHeadNamespacedServiceProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "options": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect OPTIONS requests to proxy of Service",
+ "operationId": "connectOptionsNamespacedServiceProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ServiceProxyOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.",
+ "in": "query",
+ "name": "path",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PATCH requests to proxy of Service",
+ "operationId": "connectPatchNamespacedServiceProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to proxy of Service",
+ "operationId": "connectPostNamespacedServiceProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PUT requests to proxy of Service",
+ "operationId": "connectPutNamespacedServiceProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect DELETE requests to proxy of Service",
+ "operationId": "connectDeleteNamespacedServiceProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to proxy of Service",
+ "operationId": "connectGetNamespacedServiceProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "head": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect HEAD requests to proxy of Service",
+ "operationId": "connectHeadNamespacedServiceProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "options": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect OPTIONS requests to proxy of Service",
+ "operationId": "connectOptionsNamespacedServiceProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
],
- "description": "partially update the specified ConfigMap",
- "operationId": "patchNamespacedConfigMap",
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ServiceProxyOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "path to the resource",
+ "in": "path",
+ "name": "path",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.",
+ "in": "query",
+ "name": "path",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PATCH requests to proxy of Service",
+ "operationId": "connectPatchNamespacedServiceProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to proxy of Service",
+ "operationId": "connectPostNamespacedServiceProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PUT requests to proxy of Service",
+ "operationId": "connectPutNamespacedServiceProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "ServiceProxyOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/namespaces/{namespace}/services/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified Service",
+ "operationId": "readNamespacedServiceStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Service"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Service",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified Service",
+ "operationId": "patchNamespacedServiceStatus",
"parameters": [
{
"in": "body",
@@ -20626,19 +34354,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Service"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Service"
}
}
},
@@ -20651,7 +34380,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "ConfigMap",
+ "kind": "Service",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -20660,15 +34389,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ConfigMap",
- "operationId": "replaceNamespacedConfigMap",
+ "description": "replace status of the specified Service",
+ "operationId": "replaceNamespacedServiceStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Service"
}
},
{
@@ -20696,19 +34425,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Service"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ConfigMap"
+ "$ref": "#/definitions/v1.Service"
}
}
},
@@ -20721,19 +34451,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "ConfigMap",
+ "kind": "Service",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/endpoints": {
+ "/api/v1/namespaces/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Endpoints",
- "operationId": "deleteCollectionNamespacedEndpoints",
+ "description": "delete a Namespace",
+ "operationId": "deleteNamespace",
"parameters": [
{
"in": "body",
@@ -20742,13 +34472,6 @@
"$ref": "#/definitions/v1.DeleteOptions"
}
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -20756,13 +34479,6 @@
"type": "string",
"uniqueItems": true
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
{
"description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
@@ -20771,17 +34487,10 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "limit",
- "type": "integer",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
"uniqueItems": true
},
{
@@ -20797,40 +34506,13 @@
"name": "propagationPolicy",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -20838,6 +34520,12 @@
"schema": {
"$ref": "#/definitions/v1.Status"
}
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
}
},
"schemes": [
@@ -20846,10 +34534,10 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "Namespace",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -20858,76 +34546,96 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Endpoints",
- "operationId": "listNamespacedEndpoints",
+ "description": "read the specified Namespace",
+ "operationId": "readNamespace",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Namespace"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Namespace",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Namespace",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Namespace",
+ "operationId": "patchNamespace",
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "labelSelector",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
- "name": "resourceVersion",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
"in": "query",
- "name": "watch",
+ "name": "force",
"type": "boolean",
"uniqueItems": true
}
@@ -20936,14 +34644,19 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointsList"
+ "$ref": "#/definitions/v1.Namespace"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Namespace"
}
}
},
@@ -20953,43 +34666,27 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "Namespace",
"version": "v1"
- }
- },
- "parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "create Endpoints",
- "operationId": "createNamespacedEndpoints",
+ "description": "replace the specified Namespace",
+ "operationId": "replaceNamespace",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
},
{
@@ -21017,25 +34714,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
}
},
@@ -21045,75 +34737,87 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "Namespace",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/endpoints/{name}": {
- "delete": {
+ "/api/v1/namespaces/{name}/finalize": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Namespace",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete Endpoints",
- "operationId": "deleteNamespacedEndpoints",
+ "description": "replace finalize of the specified Namespace",
+ "operationId": "replaceNamespaceFinalize",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.Namespace"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Namespace"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Namespace"
}
}
},
@@ -21123,30 +34827,33 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "Namespace",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/api/v1/namespaces/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified Endpoints",
- "operationId": "readNamespacedEndpoints",
+ "description": "read status of the specified Namespace",
+ "operationId": "readNamespaceStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
}
},
@@ -21159,27 +34866,19 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "Namespace",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Endpoints",
+ "description": "name of the Namespace",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -21193,10 +34892,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified Endpoints",
- "operationId": "patchNamespacedEndpoints",
+ "description": "partially update status of the specified Namespace",
+ "operationId": "patchNamespaceStatus",
"parameters": [
{
"in": "body",
@@ -21238,19 +34938,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
}
},
@@ -21263,7 +34964,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "Namespace",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21272,15 +34973,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Endpoints",
- "operationId": "replaceNamespacedEndpoints",
+ "description": "replace status of the specified Namespace",
+ "operationId": "replaceNamespaceStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
},
{
@@ -21308,19 +35009,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Endpoints"
+ "$ref": "#/definitions/v1.Namespace"
}
}
},
@@ -21333,19 +35035,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Endpoints",
+ "kind": "Namespace",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/events": {
+ "/api/v1/nodes": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Event",
- "operationId": "deleteCollectionNamespacedEvent",
+ "description": "delete collection of Node",
+ "operationId": "deleteCollectionNode",
"parameters": [
{
"in": "body",
@@ -21382,6 +35084,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -21442,7 +35151,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -21461,7 +35171,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Node",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21470,8 +35180,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listNamespacedEvent",
+ "description": "list or watch objects of kind Node",
+ "operationId": "listNode",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -21548,14 +35258,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.EventList"
+ "$ref": "#/definitions/v1.NodeList"
}
}
},
@@ -21568,19 +35280,11 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Node",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -21593,15 +35297,15 @@
"consumes": [
"application/json"
],
- "description": "create an Event",
- "operationId": "createNamespacedEvent",
+ "description": "create a Node",
+ "operationId": "createNode",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
},
{
@@ -21629,25 +35333,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
}
},
@@ -21660,19 +35365,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Node",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/events/{name}": {
+ "/api/v1/nodes/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Event",
- "operationId": "deleteNamespacedEvent",
+ "description": "delete a Node",
+ "operationId": "deleteNode",
"parameters": [
{
"in": "body",
@@ -21695,6 +35400,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -21713,7 +35425,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -21738,7 +35451,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Node",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21747,18 +35460,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified Event",
- "operationId": "readNamespacedEvent",
+ "description": "read the specified Node",
+ "operationId": "readNode",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
}
},
@@ -21771,27 +35485,19 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Node",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Event",
+ "description": "name of the Node",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -21805,10 +35511,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified Event",
- "operationId": "patchNamespacedEvent",
+ "description": "partially update the specified Node",
+ "operationId": "patchNode",
"parameters": [
{
"in": "body",
@@ -21850,19 +35557,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
}
},
@@ -21875,7 +35583,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Node",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -21884,15 +35592,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Event",
- "operationId": "replaceNamespacedEvent",
+ "description": "replace the specified Node",
+ "operationId": "replaceNode",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
},
{
@@ -21920,19 +35628,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/core.v1.Event"
+ "$ref": "#/definitions/v1.Node"
}
}
},
@@ -21945,122 +35654,264 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Event",
+ "kind": "Node",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/limitranges": {
+ "/api/v1/nodes/{name}/proxy": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of LimitRange",
- "operationId": "deleteCollectionNamespacedLimitRange",
- "parameters": [
- {
- "in": "body",
- "name": "body",
+ "description": "connect DELETE requests to proxy of Node",
+ "operationId": "connectDeleteNodeProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect GET requests to proxy of Node",
+ "operationId": "connectGetNodeProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "head": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect HEAD requests to proxy of Node",
+ "operationId": "connectHeadNodeProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "options": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect OPTIONS requests to proxy of Node",
+ "operationId": "connectOptionsNodeProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the NodeProxyOptions",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Path is the URL path to use for the current proxy request to node.",
+ "in": "query",
+ "name": "path",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PATCH requests to proxy of Node",
+ "operationId": "connectPatchNodeProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect POST requests to proxy of Node",
+ "operationId": "connectPostNodeProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect PUT requests to proxy of Node",
+ "operationId": "connectPutNodeProxy",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
}
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ }
+ },
+ "/api/v1/nodes/{name}/proxy/{path}": {
+ "delete": {
+ "consumes": [
+ "application/json"
],
+ "description": "connect DELETE requests to proxy of Node",
+ "operationId": "connectDeleteNodeProxyWithPath",
"produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "*/*"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "type": "object",
+ "format": "file"
}
}
},
@@ -22070,104 +35921,90 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "NodeProxyOptions",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ }
},
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind LimitRange",
- "operationId": "listNamespacedLimitRange",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "description": "connect GET requests to proxy of Node",
+ "operationId": "connectGetNodeProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "head": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "connect HEAD requests to proxy of Node",
+ "operationId": "connectHeadNodeProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object",
+ "format": "file"
+ }
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "options": {
+ "consumes": [
+ "application/json"
],
+ "description": "connect OPTIONS requests to proxy of Node",
+ "operationId": "connectOptionsNodeProxyWithPath",
"produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "*/*"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRangeList"
+ "type": "object",
+ "format": "file"
}
}
},
@@ -22177,89 +36014,53 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "NodeProxyOptions",
"version": "v1"
}
},
"parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the NodeProxyOptions",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "path to the resource",
+ "in": "path",
+ "name": "path",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Path is the URL path to use for the current proxy request to node.",
"in": "query",
- "name": "pretty",
+ "name": "path",
"type": "string",
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
"application/json"
],
- "description": "create a LimitRange",
- "operationId": "createNamespacedLimitRange",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.LimitRange"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
+ "description": "connect PATCH requests to proxy of Node",
+ "operationId": "connectPatchNodeProxyWithPath",
"produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "*/*"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.LimitRange"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "type": "object",
+ "format": "file"
}
}
},
@@ -22269,75 +36070,59 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "NodeProxyOptions",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/limitranges/{name}": {
- "delete": {
+ }
+ },
+ "post": {
"consumes": [
"application/json"
],
- "description": "delete a LimitRange",
- "operationId": "deleteNamespacedLimitRange",
- "parameters": [
- {
- "in": "body",
- "name": "body",
+ "description": "connect POST requests to proxy of Node",
+ "operationId": "connectPostNodeProxyWithPath",
+ "produces": [
+ "*/*"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "type": "object",
+ "format": "file"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "connect",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "NodeProxyOptions",
+ "version": "v1"
+ }
+ },
+ "put": {
+ "consumes": [
+ "application/json"
],
+ "description": "connect PUT requests to proxy of Node",
+ "operationId": "connectPutNodeProxyWithPath",
"produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "*/*"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
+ "type": "object",
+ "format": "file"
}
}
},
@@ -22347,30 +36132,32 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "connect",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "NodeProxyOptions",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
+ }
+ }
+ },
+ "/api/v1/nodes/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified LimitRange",
- "operationId": "readNamespacedLimitRange",
+ "description": "read status of the specified Node",
+ "operationId": "readNodeStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/v1.Node"
}
}
},
@@ -22383,27 +36170,19 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Node",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the LimitRange",
+ "description": "name of the Node",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -22417,10 +36196,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified LimitRange",
- "operationId": "patchNamespacedLimitRange",
+ "description": "partially update status of the specified Node",
+ "operationId": "patchNodeStatus",
"parameters": [
{
"in": "body",
@@ -22462,19 +36242,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/v1.Node"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/v1.Node"
}
}
},
@@ -22487,7 +36268,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Node",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22496,15 +36277,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified LimitRange",
- "operationId": "replaceNamespacedLimitRange",
+ "description": "replace status of the specified Node",
+ "operationId": "replaceNodeStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/v1.Node"
}
},
{
@@ -22532,19 +36313,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/v1.Node"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.LimitRange"
+ "$ref": "#/definitions/v1.Node"
}
}
},
@@ -22557,19 +36339,136 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "LimitRange",
+ "kind": "Node",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/persistentvolumeclaims": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PersistentVolumeClaim",
+ "operationId": "listPersistentVolumeClaimForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolumeClaimList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolumeClaim",
"version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/persistentvolumeclaims": {
+ "/api/v1/persistentvolumes": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PersistentVolumeClaim",
- "operationId": "deleteCollectionNamespacedPersistentVolumeClaim",
+ "description": "delete collection of PersistentVolume",
+ "operationId": "deleteCollectionPersistentVolume",
"parameters": [
{
"in": "body",
@@ -22606,6 +36505,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -22666,7 +36572,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -22685,7 +36592,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "PersistentVolume",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22694,8 +36601,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PersistentVolumeClaim",
- "operationId": "listNamespacedPersistentVolumeClaim",
+ "description": "list or watch objects of kind PersistentVolume",
+ "operationId": "listPersistentVolume",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -22772,14 +36679,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaimList"
+ "$ref": "#/definitions/v1.PersistentVolumeList"
}
}
},
@@ -22792,19 +36701,11 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "PersistentVolume",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -22817,15 +36718,15 @@
"consumes": [
"application/json"
],
- "description": "create a PersistentVolumeClaim",
- "operationId": "createNamespacedPersistentVolumeClaim",
+ "description": "create a PersistentVolume",
+ "operationId": "createPersistentVolume",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
},
{
@@ -22853,25 +36754,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
}
},
@@ -22884,19 +36786,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "PersistentVolume",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}": {
+ "/api/v1/persistentvolumes/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PersistentVolumeClaim",
- "operationId": "deleteNamespacedPersistentVolumeClaim",
+ "description": "delete a PersistentVolume",
+ "operationId": "deletePersistentVolume",
"parameters": [
{
"in": "body",
@@ -22919,6 +36821,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -22937,19 +36846,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
}
},
@@ -22962,7 +36872,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "PersistentVolume",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -22971,18 +36881,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified PersistentVolumeClaim",
- "operationId": "readNamespacedPersistentVolumeClaim",
+ "description": "read the specified PersistentVolume",
+ "operationId": "readPersistentVolume",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
}
},
@@ -22995,13 +36906,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "PersistentVolume",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PersistentVolumeClaim",
+ "description": "name of the PersistentVolume",
"in": "path",
"name": "name",
"required": true,
@@ -23009,9 +36920,206 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PersistentVolume",
+ "operationId": "patchPersistentVolume",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolume"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolume"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolume",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PersistentVolume",
+ "operationId": "replacePersistentVolume",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolume"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolume"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolume"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolume",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/persistentvolumes/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified PersistentVolume",
+ "operationId": "readPersistentVolumeStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PersistentVolume"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolume",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PersistentVolume",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -23029,10 +37137,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified PersistentVolumeClaim",
- "operationId": "patchNamespacedPersistentVolumeClaim",
+ "description": "partially update status of the specified PersistentVolume",
+ "operationId": "patchPersistentVolumeStatus",
"parameters": [
{
"in": "body",
@@ -23074,19 +37183,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
}
},
@@ -23099,7 +37209,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "PersistentVolume",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -23108,15 +37218,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified PersistentVolumeClaim",
- "operationId": "replaceNamespacedPersistentVolumeClaim",
+ "description": "replace status of the specified PersistentVolume",
+ "operationId": "replacePersistentVolumeStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
},
{
@@ -23144,54 +37254,293 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.PersistentVolume"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PersistentVolume",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/api/v1/pods": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Pod",
+ "operationId": "listPodForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Pod",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/podtemplates": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PodTemplate",
+ "operationId": "listPodTemplateForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodTemplateList"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolumeClaim",
- "version": "v1"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "PodTemplate",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}/status": {
+ "/api/v1/replicationcontrollers": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified PersistentVolumeClaim",
- "operationId": "readNamespacedPersistentVolumeClaimStatus",
+ "description": "list or watch objects of kind ReplicationController",
+ "operationId": "listReplicationControllerForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.ReplicationControllerList"
}
}
},
@@ -23201,101 +37550,114 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "ReplicationController",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PersistentVolumeClaim",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
+ ]
+ },
+ "/api/v1/resourcequotas": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified PersistentVolumeClaim",
- "operationId": "patchNamespacedPersistentVolumeClaimStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
+ "application/json"
],
+ "description": "list or watch objects of kind ResourceQuota",
+ "operationId": "listResourceQuotaForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.ResourceQuotaList"
}
}
},
@@ -23305,67 +37667,114 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "ResourceQuota",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ }
},
- "put": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/secrets": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "replace status of the specified PersistentVolumeClaim",
- "operationId": "replaceNamespacedPersistentVolumeClaimStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
+ "description": "list or watch objects of kind Secret",
+ "operationId": "listSecretForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaim"
+ "$ref": "#/definitions/v1.SecretList"
}
}
},
@@ -23375,125 +37784,114 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "PersistentVolumeClaim",
+ "kind": "Secret",
"version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/pods": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of Pod",
- "operationId": "deleteCollectionNamespacedPod",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/serviceaccounts": {
+ "get": {
+ "consumes": [
+ "application/json"
],
+ "description": "list or watch objects of kind ServiceAccount",
+ "operationId": "listServiceAccountForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ServiceAccountList"
}
}
},
@@ -23503,547 +37901,652 @@
"tags": [
"core_v1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "",
- "kind": "Pod",
+ "kind": "ServiceAccount",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ }
},
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/services": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Pod",
- "operationId": "listNamespacedPod",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
+ "description": "list or watch objects of kind Service",
+ "operationId": "listServiceForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodList"
+ "$ref": "#/definitions/v1.ServiceList"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "core_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "",
+ "kind": "Service",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/watch/configmaps": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/watch/endpoints": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/watch/events": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/limitranges": {
"parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a Pod",
- "operationId": "createNamespacedPod",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a Pod",
- "operationId": "deleteNamespacedPod",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified Pod",
- "operationId": "readNamespacedPod",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces": {
"parameters": [
{
- "description": "name of the Pod",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "pretty",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified Pod",
- "operationId": "patchNamespacedPod",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Pod",
- "operationId": "replaceNamespacedPod",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/attach": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to attach of Pod",
- "operationId": "connectGetNamespacedPodAttach",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodAttachOptions",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/configmaps": {
"parameters": [
{
- "description": "The container in which to execute the command. Defaults to only container if there is only one container in the pod.",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "container",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "name of the PodAttachOptions",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -24053,91 +38556,88 @@
"uniqueItems": true
},
{
- "description": "Stderr if true indicates that stderr is to be redirected for the attach call. Defaults to true.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "stderr",
- "type": "boolean",
+ "name": "pretty",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Stdin if true, redirects the standard input stream of the pod for this call. Defaults to false.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "stdin",
- "type": "boolean",
+ "name": "resourceVersion",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Stdout if true indicates that stdout is to be redirected for the attach call. Defaults to true.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "stdout",
- "type": "boolean",
+ "name": "resourceVersionMatch",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "TTY if true indicates that a tty will be allocated for the attach call. This is passed through the container runtime so the tty is allocated on the worker node by the container runtime. Defaults to false.",
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
"in": "query",
- "name": "tty",
+ "name": "sendInitialEvents",
"type": "boolean",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to attach of Pod",
- "operationId": "connectPostNamespacedPodAttach",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodAttachOptions",
- "version": "v1"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- }
+ ]
},
- "/api/v1/namespaces/{namespace}/pods/{name}/binding": {
+ "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": {
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "dryRun",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "name of the Binding",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ConfigMap",
"in": "path",
"name": "name",
"required": true,
@@ -24158,106 +38658,81 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create binding of a Pod",
- "operationId": "createNamespacedPodBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Binding"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Binding",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/ephemeralcontainers": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read ephemeralcontainers of the specified Pod",
- "operationId": "readNamespacedPodEphemeralcontainers",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/endpoints": {
"parameters": [
{
- "description": "name of the Pod",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -24272,184 +38747,83 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update ephemeralcontainers of the specified Pod",
- "operationId": "patchNamespacedPodEphemeralcontainers",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace ephemeralcontainers of the specified Pod",
- "operationId": "replaceNamespacedPodEphemeralcontainers",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/pods/{name}/eviction": {
+ "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": {
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "dryRun",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "name of the Eviction",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Endpoints",
"in": "path",
"name": "name",
"required": true,
@@ -24470,260 +38844,81 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create eviction of a Pod",
- "operationId": "createNamespacedPodEviction",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Eviction"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Eviction"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Eviction"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Eviction"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "Eviction",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/exec": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to exec of Pod",
- "operationId": "connectGetNamespacedPodExec",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodExecOptions",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "Command is the remote command to execute. argv array. Not executed within a shell.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "command",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
},
{
- "description": "Container in which to execute the command. Defaults to only container if there is only one container in the pod.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "container",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "name of the PodExecOptions",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "name": "resourceVersionMatch",
"type": "string",
"uniqueItems": true
},
{
- "description": "Redirect the standard error stream of the pod for this call.",
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
"in": "query",
- "name": "stderr",
+ "name": "sendInitialEvents",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Redirect the standard input stream of the pod for this call. Defaults to false.",
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
"in": "query",
- "name": "stdin",
- "type": "boolean",
+ "name": "timeoutSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "Redirect the standard output stream of the pod for this call.",
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"in": "query",
- "name": "stdout",
+ "name": "watch",
"type": "boolean",
"uniqueItems": true
- },
+ }
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/events": {
+ "parameters": [
{
- "description": "TTY if true indicates that a tty will be allocated for the exec call. Defaults to false.",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "tty",
+ "name": "allowWatchBookmarks",
"type": "boolean",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to exec of Pod",
- "operationId": "connectPostNamespacedPodExec",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodExecOptions",
- "version": "v1"
- }
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/log": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read log of the specified Pod",
- "operationId": "readNamespacedPodLog",
- "produces": [
- "text/plain",
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "The container for which to stream logs. Defaults to only container if there is one container in the pod.",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "container",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "Follow the log stream of the pod. Defaults to false.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "follow",
- "type": "boolean",
+ "name": "fieldSelector",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "insecureSkipTLSVerifyBackend",
- "type": "boolean",
+ "name": "labelSelector",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "If set, the number of bytes to read from the server before terminating the log output. This may not display a complete final line of logging, and may return slightly more or slightly less than the specified limit.",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"in": "query",
- "name": "limitBytes",
+ "name": "limit",
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the Pod",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -24740,70 +38935,81 @@
"uniqueItems": true
},
{
- "description": "Return previous terminated container logs. Defaults to false.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "previous",
- "type": "boolean",
+ "name": "resourceVersion",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "A relative time in seconds before the current time from which to show logs. If this value precedes the time a pod was started, only logs since the pod start will be returned. If this value is in the future, no logs will be returned. Only one of sinceSeconds or sinceTime may be specified.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "sinceSeconds",
- "type": "integer",
+ "name": "resourceVersionMatch",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "If set, the number of lines from the end of the logs to show. If not specified, logs are shown from the creation of the container or sinceSeconds or sinceTime",
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
"in": "query",
- "name": "tailLines",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
"type": "integer",
"uniqueItems": true
},
{
- "description": "If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false.",
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"in": "query",
- "name": "timestamps",
+ "name": "watch",
"type": "boolean",
"uniqueItems": true
}
]
},
- "/api/v1/namespaces/{namespace}/pods/{name}/portforward": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to portforward of Pod",
- "operationId": "connectGetNamespacedPodPortforward",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodPortForwardOptions",
- "version": "v1"
- }
- },
+ "/api/v1/watch/namespaces/{namespace}/events/{name}": {
"parameters": [
{
- "description": "name of the PodPortForwardOptions",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Event",
"in": "path",
"name": "name",
"required": true,
@@ -24819,179 +39025,86 @@
"uniqueItems": true
},
{
- "description": "List of ports to forward Required when using WebSockets",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "ports",
- "type": "integer",
+ "name": "pretty",
+ "type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to portforward of Pod",
- "operationId": "connectPostNamespacedPodPortforward",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodPortForwardOptions",
- "version": "v1"
- }
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/proxy": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "connect DELETE requests to proxy of Pod",
- "operationId": "connectDeleteNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to proxy of Pod",
- "operationId": "connectGetNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "head": {
- "consumes": [
- "application/json"
- ],
- "description": "connect HEAD requests to proxy of Pod",
- "operationId": "connectHeadNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "options": {
- "consumes": [
- "application/json"
- ],
- "description": "connect OPTIONS requests to proxy of Pod",
- "operationId": "connectOptionsNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/limitranges": {
"parameters": [
{
- "description": "name of the PodProxyOptions",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -25001,235 +39114,88 @@
"uniqueItems": true
},
{
- "description": "Path is the URL path to use for the current proxy request to pod.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "path",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PATCH requests to proxy of Pod",
- "operationId": "connectPatchNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to proxy of Pod",
- "operationId": "connectPostNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PUT requests to proxy of Pod",
- "operationId": "connectPutNamespacedPodProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- }
+ ]
},
- "/api/v1/namespaces/{namespace}/pods/{name}/proxy/{path}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "connect DELETE requests to proxy of Pod",
- "operationId": "connectDeleteNamespacedPodProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to proxy of Pod",
- "operationId": "connectGetNamespacedPodProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "head": {
- "consumes": [
- "application/json"
- ],
- "description": "connect HEAD requests to proxy of Pod",
- "operationId": "connectHeadNamespacedPodProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "options": {
- "consumes": [
- "application/json"
- ],
- "description": "connect OPTIONS requests to proxy of Pod",
- "operationId": "connectOptionsNamespacedPodProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "name of the PodProxyOptions",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the LimitRange",
"in": "path",
"name": "name",
"required": true,
@@ -25245,151 +39211,177 @@
"uniqueItems": true
},
{
- "description": "path to the resource",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "path",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "Path is the URL path to use for the current proxy request to pod.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "path",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PATCH requests to proxy of Pod",
- "operationId": "connectPatchNamespacedPodProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to proxy of Pod",
- "operationId": "connectPostNamespacedPodProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PUT requests to proxy of Pod",
- "operationId": "connectPutNamespacedPodProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodProxyOptions",
- "version": "v1"
- }
- }
- },
- "/api/v1/namespaces/{namespace}/pods/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified Pod",
- "operationId": "readNamespacedPodStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": {
"parameters": [
{
- "description": "name of the Pod",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PersistentVolumeClaim",
"in": "path",
"name": "name",
"required": true,
@@ -25410,393 +39402,81 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified Pod",
- "operationId": "patchNamespacedPodStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified Pod",
- "operationId": "replaceNamespacedPodStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Pod"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/podtemplates": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of PodTemplate",
- "operationId": "deleteCollectionNamespacedPodTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind PodTemplate",
- "operationId": "listNamespacedPodTemplate",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplateList"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/pods": {
"parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -25811,197 +39491,83 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a PodTemplate",
- "operationId": "createNamespacedPodTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/podtemplates/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a PodTemplate",
- "operationId": "deleteNamespacedPodTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified PodTemplate",
- "operationId": "readNamespacedPodTemplate",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/pods/{name}": {
"parameters": [
{
- "description": "name of the PodTemplate",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Pod",
"in": "path",
"name": "name",
"required": true,
@@ -26022,393 +39588,178 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified PodTemplate",
- "operationId": "patchNamespacedPodTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- }
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/podtemplates": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified PodTemplate",
- "operationId": "replaceNamespacedPodTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodTemplate"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/replicationcontrollers": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ReplicationController",
- "operationId": "deleteCollectionNamespacedReplicationController",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ReplicationController",
- "operationId": "listNamespacedReplicationController",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationControllerList"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": {
"parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PodTemplate",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -26423,203 +39774,81 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a ReplicationController",
- "operationId": "createNamespacedReplicationController",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ReplicationController",
- "operationId": "deleteNamespacedReplicationController",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ReplicationController",
- "operationId": "readNamespacedReplicationController",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": {
"parameters": [
{
- "description": "name of the ReplicationController",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -26634,195 +39863,83 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ReplicationController",
- "operationId": "patchNamespacedReplicationController",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ReplicationController",
- "operationId": "replaceNamespacedReplicationController",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/scale": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read scale of the specified ReplicationController",
- "operationId": "readNamespacedReplicationControllerScale",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": {
"parameters": [
{
- "description": "name of the Scale",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ReplicationController",
"in": "path",
"name": "name",
"required": true,
@@ -26843,195 +39960,172 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update scale of the specified ReplicationController",
- "operationId": "patchNamespacedReplicationControllerScale",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/resourcequotas": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace scale of the specified ReplicationController",
- "operationId": "replaceNamespacedReplicationControllerScale",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/replicationcontrollers/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified ReplicationController",
- "operationId": "readNamespacedReplicationControllerStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- }
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": {
"parameters": [
{
- "description": "name of the ReplicationController",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ResourceQuota",
"in": "path",
"name": "name",
"required": true,
@@ -27052,393 +40146,81 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified ReplicationController",
- "operationId": "patchNamespacedReplicationControllerStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified ReplicationController",
- "operationId": "replaceNamespacedReplicationControllerStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ReplicationController"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/resourcequotas": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ResourceQuota",
- "operationId": "deleteCollectionNamespacedResourceQuota",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ResourceQuota",
- "operationId": "listNamespacedResourceQuota",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuotaList"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/secrets": {
"parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -27453,197 +40235,83 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a ResourceQuota",
- "operationId": "createNamespacedResourceQuota",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/resourcequotas/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ResourceQuota",
- "operationId": "deleteNamespacedResourceQuota",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ResourceQuota",
- "operationId": "readNamespacedResourceQuota",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/secrets/{name}": {
"parameters": [
{
- "description": "name of the ResourceQuota",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Secret",
"in": "path",
"name": "name",
"required": true,
@@ -27664,201 +40332,81 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ResourceQuota",
- "operationId": "patchNamespacedResourceQuota",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ResourceQuota",
- "operationId": "replaceNamespacedResourceQuota",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/resourcequotas/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified ResourceQuota",
- "operationId": "readNamespacedResourceQuotaStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/serviceaccounts": {
"parameters": [
{
- "description": "name of the ResourceQuota",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -27873,393 +40421,89 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified ResourceQuota",
- "operationId": "patchNamespacedResourceQuotaStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified ResourceQuota",
- "operationId": "replaceNamespacedResourceQuotaStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ResourceQuota"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/secrets": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of Secret",
- "operationId": "deleteCollectionNamespacedSecret",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Secret",
- "operationId": "listNamespacedSecret",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.SecretList"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ServiceAccount",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
- "version": "v1"
- }
- },
- "parameters": [
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -28274,604 +40518,178 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a Secret",
- "operationId": "createNamespacedSecret",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/secrets/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a Secret",
- "operationId": "deleteNamespacedSecret",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified Secret",
- "operationId": "readNamespacedSecret",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/services": {
"parameters": [
{
- "description": "name of the Secret",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "pretty",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified Secret",
- "operationId": "patchNamespacedSecret",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Secret",
- "operationId": "replaceNamespacedSecret",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Secret"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
- "version": "v1"
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/serviceaccounts": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ServiceAccount",
- "operationId": "deleteCollectionNamespacedServiceAccount",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
- "version": "v1"
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ServiceAccount",
- "operationId": "listNamespacedServiceAccount",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccountList"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
- "version": "v1"
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/namespaces/{namespace}/services/{name}": {
"parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Service",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -28886,711 +40704,255 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a ServiceAccount",
- "operationId": "createNamespacedServiceAccount",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/serviceaccounts/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ServiceAccount",
- "operationId": "deleteNamespacedServiceAccount",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- }
+ "/api/v1/watch/namespaces/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ServiceAccount",
- "operationId": "readNamespacedServiceAccount",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
- "version": "v1"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Namespace",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/nodes": {
"parameters": [
{
- "description": "name of the ServiceAccount",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "pretty",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ServiceAccount",
- "operationId": "patchNamespacedServiceAccount",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ServiceAccount",
- "operationId": "replaceNamespacedServiceAccount",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ServiceAccount"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
- "version": "v1"
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/serviceaccounts/{name}/token": {
- "parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "dryRun",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "fieldManager",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "fieldValidation",
+ "name": "resourceVersionMatch",
"type": "string",
"uniqueItems": true
},
{
- "description": "name of the TokenRequest",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
"in": "query",
- "name": "pretty",
- "type": "string",
+ "name": "watch",
+ "type": "boolean",
"uniqueItems": true
}
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create token of a ServiceAccount",
- "operationId": "createNamespacedServiceAccountToken",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/authentication.v1.TokenRequest"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/authentication.v1.TokenRequest"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/authentication.v1.TokenRequest"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/authentication.v1.TokenRequest"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "authentication.k8s.io",
- "kind": "TokenRequest",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
+ ]
},
- "/api/v1/namespaces/{namespace}/services": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of Service",
- "operationId": "deleteCollectionNamespacedService",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ "/api/v1/watch/nodes/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Service",
- "operationId": "listNamespacedService",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ServiceList"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Node",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -29601,498 +40963,245 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a Service",
- "operationId": "createNamespacedService",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{namespace}/services/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a Service",
- "operationId": "deleteNamespacedService",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified Service",
- "operationId": "readNamespacedService",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/persistentvolumeclaims": {
"parameters": [
{
- "description": "name of the Service",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified Service",
- "operationId": "patchNamespacedService",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Service",
- "operationId": "replaceNamespacedService",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{namespace}/services/{name}/proxy": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "connect DELETE requests to proxy of Service",
- "operationId": "connectDeleteNamespacedServiceProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ "/api/v1/watch/persistentvolumes": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to proxy of Service",
- "operationId": "connectGetNamespacedServiceProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "head": {
- "consumes": [
- "application/json"
- ],
- "description": "connect HEAD requests to proxy of Service",
- "operationId": "connectHeadNamespacedServiceProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "options": {
- "consumes": [
- "application/json"
- ],
- "description": "connect OPTIONS requests to proxy of Service",
- "operationId": "connectOptionsNamespacedServiceProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/persistentvolumes/{name}": {
"parameters": [
{
- "description": "name of the ServiceProxyOptions",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the PersistentVolume",
"in": "path",
"name": "name",
"required": true,
@@ -30100,1039 +41209,625 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
},
{
- "description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "path",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PATCH requests to proxy of Service",
- "operationId": "connectPatchNamespacedServiceProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to proxy of Service",
- "operationId": "connectPostNamespacedServiceProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PUT requests to proxy of Service",
- "operationId": "connectPutNamespacedServiceProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- }
+ ]
},
- "/api/v1/namespaces/{namespace}/services/{name}/proxy/{path}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "connect DELETE requests to proxy of Service",
- "operationId": "connectDeleteNamespacedServiceProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ "/api/v1/watch/pods": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to proxy of Service",
- "operationId": "connectGetNamespacedServiceProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "head": {
- "consumes": [
- "application/json"
- ],
- "description": "connect HEAD requests to proxy of Service",
- "operationId": "connectHeadNamespacedServiceProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
- "options": {
- "consumes": [
- "application/json"
- ],
- "description": "connect OPTIONS requests to proxy of Service",
- "operationId": "connectOptionsNamespacedServiceProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ ]
+ },
+ "/api/v1/watch/podtemplates": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "parameters": [
{
- "description": "name of the ServiceProxyOptions",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
},
{
- "description": "path to the resource",
- "in": "path",
- "name": "path",
- "required": true,
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
},
{
- "description": "Path is the part of URLs that include service endpoints, suffixes, and parameters to use for the current proxy request to service. For example, the whole request URL is http://localhost/api/v1/namespaces/kube-system/services/elasticsearch-logging/_search?q=user:kimchy. Path is _search?q=user:kimchy.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "path",
+ "name": "resourceVersionMatch",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PATCH requests to proxy of Service",
- "operationId": "connectPatchNamespacedServiceProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "connect POST requests to proxy of Service",
- "operationId": "connectPostNamespacedServiceProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
- }
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PUT requests to proxy of Service",
- "operationId": "connectPutNamespacedServiceProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceProxyOptions",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- }
+ ]
},
- "/api/v1/namespaces/{namespace}/services/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified Service",
- "operationId": "readNamespacedServiceStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
- }
- },
+ "/api/v1/watch/replicationcontrollers": {
"parameters": [
{
- "description": "name of the Service",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified Service",
- "operationId": "patchNamespacedServiceStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified Service",
- "operationId": "replaceNamespacedServiceStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Service"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a Namespace",
- "operationId": "deleteNamespace",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ "/api/v1/watch/resourcequotas": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified Namespace",
- "operationId": "readNamespace",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/secrets": {
"parameters": [
{
- "description": "name of the Namespace",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified Namespace",
- "operationId": "patchNamespace",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Namespace",
- "operationId": "replaceNamespace",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/api/v1/namespaces/{name}/finalize": {
+ "/api/v1/watch/serviceaccounts": {
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "dryRun",
- "type": "string",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "fieldManager",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "name of the Namespace",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace finalize of the specified Namespace",
- "operationId": "replaceNamespaceFinalize",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/namespaces/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified Namespace",
- "operationId": "readNamespaceStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/api/v1/watch/services": {
"parameters": [
{
- "description": "name of the Namespace",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
+ ]
+ },
+ "/apis/": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified Namespace",
- "operationId": "patchNamespaceStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
+ "description": "get available API versions",
+ "operationId": "getAPIVersions",
"produces": [
"application/json",
"application/yaml",
@@ -31142,13 +41837,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
+ "$ref": "#/definitions/v1.APIGroupList"
}
}
},
@@ -31156,69 +41845,61 @@
"https"
],
"tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
+ "apis"
+ ]
+ }
+ },
+ "/apis/admissionregistration.k8s.io/": {
+ "get": {
"consumes": [
- "application/json"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
- "description": "replace status of the specified Namespace",
- "operationId": "replaceNamespaceStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Namespace"
+ "$ref": "#/definitions/v1.APIGroup"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration"
+ ]
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Namespace"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Namespace"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -31226,24 +41907,17 @@
"https"
],
"tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Namespace",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ "admissionregistration_v1"
+ ]
}
},
- "/api/v1/nodes": {
+ "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Node",
- "operationId": "deleteCollectionNode",
+ "description": "delete collection of MutatingWebhookConfiguration",
+ "operationId": "deleteCollectionMutatingWebhookConfiguration",
"parameters": [
{
"in": "body",
@@ -31280,6 +41954,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -31340,7 +42021,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -31354,12 +42036,12 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingWebhookConfiguration",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -31368,8 +42050,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Node",
- "operationId": "listNode",
+ "description": "list or watch objects of kind MutatingWebhookConfiguration",
+ "operationId": "listMutatingWebhookConfiguration",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -31446,14 +42128,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NodeList"
+ "$ref": "#/definitions/v1.MutatingWebhookConfigurationList"
}
}
},
@@ -31461,12 +42145,12 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingWebhookConfiguration",
"version": "v1"
}
},
@@ -31483,15 +42167,15 @@
"consumes": [
"application/json"
],
- "description": "create a Node",
- "operationId": "createNode",
+ "description": "create a MutatingWebhookConfiguration",
+ "operationId": "createMutatingWebhookConfiguration",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
},
{
@@ -31519,25 +42203,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
}
},
@@ -31545,24 +42230,24 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingWebhookConfiguration",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/nodes/{name}": {
+ "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a Node",
- "operationId": "deleteNode",
+ "description": "delete a MutatingWebhookConfiguration",
+ "operationId": "deleteMutatingWebhookConfiguration",
"parameters": [
{
"in": "body",
@@ -31585,6 +42270,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -31603,7 +42295,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -31623,12 +42316,12 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingWebhookConfiguration",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -31637,18 +42330,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified Node",
- "operationId": "readNode",
+ "description": "read the specified MutatingWebhookConfiguration",
+ "operationId": "readMutatingWebhookConfiguration",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
}
},
@@ -31656,18 +42350,18 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingWebhookConfiguration",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Node",
+ "description": "name of the MutatingWebhookConfiguration",
"in": "path",
"name": "name",
"required": true,
@@ -31687,10 +42381,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified Node",
- "operationId": "patchNode",
+ "description": "partially update the specified MutatingWebhookConfiguration",
+ "operationId": "patchMutatingWebhookConfiguration",
"parameters": [
{
"in": "body",
@@ -31721,275 +42416,31 @@
"type": "string",
"uniqueItems": true
},
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Node"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Node"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Node",
- "operationId": "replaceNode",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Node"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Node"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Node"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/nodes/{name}/proxy": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "connect DELETE requests to proxy of Node",
- "operationId": "connectDeleteNodeProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "connect GET requests to proxy of Node",
- "operationId": "connectGetNodeProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "head": {
- "consumes": [
- "application/json"
- ],
- "description": "connect HEAD requests to proxy of Node",
- "operationId": "connectHeadNodeProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "options": {
- "consumes": [
- "application/json"
- ],
- "description": "connect OPTIONS requests to proxy of Node",
- "operationId": "connectOptionsNodeProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the NodeProxyOptions",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Path is the URL path to use for the current proxy request to node.",
- "in": "query",
- "name": "path",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json"
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "connect PATCH requests to proxy of Node",
- "operationId": "connectPatchNodeProxy",
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
}
},
@@ -31997,61 +42448,70 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingWebhookConfiguration",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
},
- "post": {
+ "put": {
"consumes": [
"application/json"
],
- "description": "connect POST requests to proxy of Node",
- "operationId": "connectPostNodeProxy",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
+ "description": "replace the specified MutatingWebhookConfiguration",
+ "operationId": "replaceMutatingWebhookConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PUT requests to proxy of Node",
- "operationId": "connectPutNodeProxy",
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
}
}
},
@@ -32059,63 +42519,135 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingWebhookConfiguration",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/api/v1/nodes/{name}/proxy/{path}": {
+ "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies": {
"delete": {
"consumes": [
"application/json"
],
- "description": "connect DELETE requests to proxy of Node",
- "operationId": "connectDeleteNodeProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
+ "description": "delete collection of ValidatingAdmissionPolicy",
+ "operationId": "deleteCollectionValidatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "get": {
- "consumes": [
- "application/json"
],
- "description": "connect GET requests to proxy of Node",
- "operationId": "connectGetNodeProxyWithPath",
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -32123,61 +42655,108 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
},
- "head": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "connect HEAD requests to proxy of Node",
- "operationId": "connectHeadNodeProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "type": "object",
- "format": "file"
- }
+ "description": "list or watch objects of kind ValidatingAdmissionPolicy",
+ "operationId": "listValidatingAdmissionPolicy",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "options": {
- "consumes": [
- "application/json"
],
- "description": "connect OPTIONS requests to proxy of Node",
- "operationId": "connectOptionsNodeProxyWithPath",
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyList"
}
}
},
@@ -32185,55 +42764,84 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the NodeProxyOptions",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "path to the resource",
- "in": "path",
- "name": "path",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Path is the URL path to use for the current proxy request to node.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "path",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
"application/json"
],
- "description": "connect PATCH requests to proxy of Node",
- "operationId": "connectPatchNodeProxyWithPath",
+ "description": "create a ValidatingAdmissionPolicy",
+ "operationId": "createValidatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
}
},
@@ -32241,61 +42849,85 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
- }
- },
- "post": {
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "connect POST requests to proxy of Node",
- "operationId": "connectPostNodeProxyWithPath",
+ "description": "delete a ValidatingAdmissionPolicy",
+ "operationId": "deleteValidatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
"produces": [
- "*/*"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Status"
}
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "connect",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
- "version": "v1"
- }
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "connect PUT requests to proxy of Node",
- "operationId": "connectPutNodeProxyWithPath",
- "produces": [
- "*/*"
- ],
- "responses": {
- "200": {
- "description": "OK",
+ },
+ "202": {
+ "description": "Accepted",
"schema": {
- "type": "object",
- "format": "file"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -32303,33 +42935,33 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "connect",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "NodeProxyOptions",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
- }
- }
- },
- "/api/v1/nodes/{name}/status": {
+ },
+ "x-codegen-request-body-name": "body"
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified Node",
- "operationId": "readNodeStatus",
+ "description": "read the specified ValidatingAdmissionPolicy",
+ "operationId": "readValidatingAdmissionPolicy",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
}
},
@@ -32337,18 +42969,18 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Node",
+ "description": "name of the ValidatingAdmissionPolicy",
"in": "path",
"name": "name",
"required": true,
@@ -32368,10 +43000,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified Node",
- "operationId": "patchNodeStatus",
+ "description": "partially update the specified ValidatingAdmissionPolicy",
+ "operationId": "patchValidatingAdmissionPolicy",
"parameters": [
{
"in": "body",
@@ -32413,19 +43046,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
}
},
@@ -32433,12 +43067,12 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -32447,15 +43081,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified Node",
- "operationId": "replaceNodeStatus",
+ "description": "replace the specified ValidatingAdmissionPolicy",
+ "operationId": "replaceValidatingAdmissionPolicy",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
},
{
@@ -32483,19 +43117,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Node"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
}
},
@@ -32503,36 +43138,35 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Node",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/persistentvolumeclaims": {
+ "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PersistentVolumeClaim",
- "operationId": "listPersistentVolumeClaimForAllNamespaces",
+ "description": "read status of the specified ValidatingAdmissionPolicy",
+ "operationId": "readValidatingAdmissionPolicyStatus",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeClaimList"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
}
},
@@ -32540,117 +43174,51 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolumeClaim",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
}
},
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the ValidatingAdmissionPolicy",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/api/v1/persistentvolumes": {
- "delete": {
+ ],
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "delete collection of PersistentVolume",
- "operationId": "deleteCollectionPersistentVolume",
+ "description": "partially update status of the specified ValidatingAdmissionPolicy",
+ "operationId": "patchValidatingAdmissionPolicyStatus",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.Patch"
}
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -32659,193 +43227,44 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
- "name": "resourceVersion",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
"in": "query",
- "name": "sendInitialEvents",
+ "name": "force",
"type": "boolean",
"uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind PersistentVolume",
- "operationId": "listPersistentVolume",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolumeList"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
}
},
@@ -32853,37 +43272,29 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
},
- "parameters": [
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ "put": {
"consumes": [
"application/json"
],
- "description": "create a PersistentVolume",
- "operationId": "createPersistentVolume",
+ "description": "replace status of the specified ValidatingAdmissionPolicy",
+ "operationId": "replaceValidatingAdmissionPolicyStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
},
{
@@ -32911,25 +43322,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
}
}
},
@@ -32937,24 +43343,24 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/persistentvolumes/{name}": {
+ "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PersistentVolume",
- "operationId": "deletePersistentVolume",
+ "description": "delete collection of ValidatingAdmissionPolicyBinding",
+ "operationId": "deleteCollectionValidatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
@@ -32963,6 +43369,13 @@
"$ref": "#/definitions/v1.DeleteOptions"
}
},
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -32970,6 +43383,13 @@
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
@@ -32977,6 +43397,27 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -32990,24 +43431,47 @@
"name": "propagationPolicy",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -33015,12 +43479,12 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicyBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -33029,18 +43493,94 @@
"consumes": [
"application/json"
],
- "description": "read the specified PersistentVolume",
- "operationId": "readPersistentVolume",
+ "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding",
+ "operationId": "listValidatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBindingList"
}
}
},
@@ -33048,24 +43588,16 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicyBinding",
"version": "v1"
}
},
"parameters": [
- {
- "description": "name of the PersistentVolume",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -33074,22 +43606,19 @@
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/json"
],
- "description": "partially update the specified PersistentVolume",
- "operationId": "patchPersistentVolume",
+ "description": "create a ValidatingAdmissionPolicyBinding",
+ "operationId": "createValidatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
},
{
@@ -33100,7 +43629,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -33112,31 +43641,31 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
}
},
@@ -33144,29 +43673,30 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicyBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
- "put": {
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/{name}": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "replace the specified PersistentVolume",
- "operationId": "replacePersistentVolume",
+ "description": "delete a ValidatingAdmissionPolicyBinding",
+ "operationId": "deleteValidatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
},
{
@@ -33177,16 +43707,30 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "fieldManager",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "fieldValidation",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -33194,19 +43738,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.Status"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -33214,34 +43759,33 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicyBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/api/v1/persistentvolumes/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified PersistentVolume",
- "operationId": "readPersistentVolumeStatus",
+ "description": "read the specified ValidatingAdmissionPolicyBinding",
+ "operationId": "readValidatingAdmissionPolicyBinding",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
}
},
@@ -33249,18 +43793,18 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicyBinding",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PersistentVolume",
+ "description": "name of the ValidatingAdmissionPolicyBinding",
"in": "path",
"name": "name",
"required": true,
@@ -33280,10 +43824,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified PersistentVolume",
- "operationId": "patchPersistentVolumeStatus",
+ "description": "partially update the specified ValidatingAdmissionPolicyBinding",
+ "operationId": "patchValidatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
@@ -33325,19 +43870,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
}
},
@@ -33345,12 +43891,12 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicyBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -33359,15 +43905,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified PersistentVolume",
- "operationId": "replacePersistentVolumeStatus",
+ "description": "replace the specified ValidatingAdmissionPolicyBinding",
+ "operationId": "replaceValidatingAdmissionPolicyBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
},
{
@@ -33395,19 +43941,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PersistentVolume"
+ "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
}
}
},
@@ -33415,266 +43962,135 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PersistentVolume",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingAdmissionPolicyBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/api/v1/pods": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Pod",
- "operationId": "listPodForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Pod",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/podtemplates": {
- "get": {
+ "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PodTemplate",
- "operationId": "listPodTemplateForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
+ "description": "delete collection of ValidatingWebhookConfiguration",
+ "operationId": "deleteCollectionValidatingWebhookConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
"schema": {
- "$ref": "#/definitions/v1.PodTemplateList"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "core_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "PodTemplate",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/replicationcontrollers": {
- "get": {
- "consumes": [
- "application/json"
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
],
- "description": "list or watch objects of kind ReplicationController",
- "operationId": "listReplicationControllerForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicationControllerList"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -33682,114 +44098,108 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ReplicationController",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingWebhookConfiguration",
"version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/resourcequotas": {
+ "x-codegen-request-body-name": "body"
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ResourceQuota",
- "operationId": "listResourceQuotaForAllNamespaces",
+ "description": "list or watch objects of kind ValidatingWebhookConfiguration",
+ "operationId": "listValidatingWebhookConfiguration",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ResourceQuotaList"
+ "$ref": "#/definitions/v1.ValidatingWebhookConfigurationList"
}
}
},
@@ -33797,114 +44207,84 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ResourceQuota",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingWebhookConfiguration",
"version": "v1"
}
},
"parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/api/v1/secrets": {
- "get": {
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Secret",
- "operationId": "listSecretForAllNamespaces",
+ "description": "create a ValidatingWebhookConfiguration",
+ "operationId": "createValidatingWebhookConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.SecretList"
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
}
}
},
@@ -33912,114 +44292,119 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Secret",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingWebhookConfiguration",
"version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ValidatingWebhookConfiguration",
+ "operationId": "deleteValidatingWebhookConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingWebhookConfiguration",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/serviceaccounts": {
+ "x-codegen-request-body-name": "body"
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ServiceAccount",
- "operationId": "listServiceAccountForAllNamespaces",
+ "description": "read the specified ValidatingWebhookConfiguration",
+ "operationId": "readValidatingWebhookConfiguration",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceAccountList"
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
}
}
},
@@ -34027,114 +44412,97 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "ServiceAccount",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingWebhookConfiguration",
"version": "v1"
}
},
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the ValidatingWebhookConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/api/v1/services": {
- "get": {
+ ],
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ValidatingWebhookConfiguration",
+ "operationId": "patchValidatingWebhookConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "list or watch objects of kind Service",
- "operationId": "listServiceForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ServiceList"
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
}
}
},
@@ -34142,258 +44510,89 @@
"https"
],
"tags": [
- "core_v1"
+ "admissionregistration_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "",
- "kind": "Service",
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingWebhookConfiguration",
"version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/watch/configmaps": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/watch/endpoints": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ValidatingWebhookConfiguration",
+ "operationId": "replaceValidatingWebhookConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "ValidatingWebhookConfiguration",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/api/v1/watch/events": {
+ "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -34474,7 +44673,7 @@
}
]
},
- "/api/v1/watch/limitranges": {
+ "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -34511,6 +44710,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the MutatingWebhookConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -34555,7 +44762,7 @@
}
]
},
- "/api/v1/watch/namespaces": {
+ "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -34636,7 +44843,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/configmaps": {
+ "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -34674,9 +44881,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ValidatingAdmissionPolicy",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -34725,7 +44932,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": {
+ "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -34762,22 +44969,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ConfigMap",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -34822,7 +45013,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/endpoints": {
+ "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -34860,9 +45051,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ValidatingAdmissionPolicyBinding",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -34911,7 +45102,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": {
+ "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -34948,22 +45139,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the Endpoints",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -35008,7 +45183,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/events": {
+ "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -35046,9 +45221,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ValidatingWebhookConfiguration",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -35088,153 +45263,500 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/admissionregistration.k8s.io/v1alpha1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ]
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of MutatingAdmissionPolicy",
+ "operationId": "deleteCollectionMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind MutatingAdmissionPolicy",
+ "operationId": "listMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1alpha1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/events/{name}": {
+ },
"parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the Event",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a MutatingAdmissionPolicy",
+ "operationId": "createMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1alpha1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicies/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a MutatingAdmissionPolicy",
+ "operationId": "deleteMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1alpha1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified MutatingAdmissionPolicy",
+ "operationId": "readMutatingAdmissionPolicy",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1alpha1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/limitranges": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the MutatingAdmissionPolicy",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -35245,231 +45767,782 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified MutatingAdmissionPolicy",
+ "operationId": "patchMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1alpha1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified MutatingAdmissionPolicy",
+ "operationId": "replaceMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicy"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of MutatingAdmissionPolicyBinding",
+ "operationId": "deleteCollectionMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1alpha1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind MutatingAdmissionPolicyBinding",
+ "operationId": "listMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBindingList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1alpha1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": {
+ },
"parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the LimitRange",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a MutatingAdmissionPolicyBinding",
+ "operationId": "createMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1alpha1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1alpha1/mutatingadmissionpolicybindings/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a MutatingAdmissionPolicyBinding",
+ "operationId": "deleteMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1alpha1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified MutatingAdmissionPolicyBinding",
+ "operationId": "readMutatingAdmissionPolicyBinding",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1alpha1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
+ "description": "name of the MutatingAdmissionPolicyBinding",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified MutatingAdmissionPolicyBinding",
+ "operationId": "patchMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1alpha1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified MutatingAdmissionPolicyBinding",
+ "operationId": "replaceMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
},
- "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": {
+ "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicies": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -35506,22 +46579,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the PersistentVolumeClaim",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -35566,7 +46623,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/pods": {
+ "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicies/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -35604,9 +46661,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the MutatingAdmissionPolicy",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -35655,7 +46712,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/pods/{name}": {
+ "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicybindings": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -35692,22 +46749,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the Pod",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -35752,7 +46793,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/podtemplates": {
+ "/apis/admissionregistration.k8s.io/v1alpha1/watch/mutatingadmissionpolicybindings/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -35790,9 +46831,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the MutatingAdmissionPolicyBinding",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -35841,427 +46882,1110 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the PodTemplate",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "/apis/admissionregistration.k8s.io/v1beta1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ]
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of MutatingAdmissionPolicy",
+ "operationId": "deleteCollectionMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1beta1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind MutatingAdmissionPolicy",
+ "operationId": "listMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1beta1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": {
+ },
"parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a MutatingAdmissionPolicy",
+ "operationId": "createMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1beta1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicies/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a MutatingAdmissionPolicy",
+ "operationId": "deleteMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1beta1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified MutatingAdmissionPolicy",
+ "operationId": "readMutatingAdmissionPolicy",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1beta1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ReplicationController",
+ "description": "name of the MutatingAdmissionPolicy",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified MutatingAdmissionPolicy",
+ "operationId": "patchMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1beta1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified MutatingAdmissionPolicy",
+ "operationId": "replaceMutatingAdmissionPolicy",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicy"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicy",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of MutatingAdmissionPolicyBinding",
+ "operationId": "deleteCollectionMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1beta1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind MutatingAdmissionPolicyBinding",
+ "operationId": "listMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBindingList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1beta1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/resourcequotas": {
+ },
"parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a MutatingAdmissionPolicyBinding",
+ "operationId": "createMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1beta1"
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/admissionregistration.k8s.io/v1beta1/mutatingadmissionpolicybindings/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a MutatingAdmissionPolicyBinding",
+ "operationId": "deleteMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1beta1"
},
- {
- "description": "name of the ResourceQuota",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified MutatingAdmissionPolicyBinding",
+ "operationId": "readMutatingAdmissionPolicyBinding",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1beta1"
+ }
+ },
+ "parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the MutatingAdmissionPolicyBinding",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -36272,45 +47996,163 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified MutatingAdmissionPolicyBinding",
+ "operationId": "patchMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1beta1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified MutatingAdmissionPolicyBinding",
+ "operationId": "replaceMutatingAdmissionPolicyBinding",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.MutatingAdmissionPolicyBinding"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "admissionregistration_v1beta1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "admissionregistration.k8s.io",
+ "kind": "MutatingAdmissionPolicyBinding",
+ "version": "v1beta1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/api/v1/watch/namespaces/{namespace}/secrets": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicies": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -36347,14 +48189,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -36399,7 +48233,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/secrets/{name}": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicies/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -36437,21 +48271,13 @@
"uniqueItems": true
},
{
- "description": "name of the Secret",
+ "description": "name of the MutatingAdmissionPolicy",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -36496,7 +48322,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/serviceaccounts": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicybindings": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -36533,14 +48359,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -36585,7 +48403,7 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": {
+ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingadmissionpolicybindings/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -36623,21 +48441,13 @@
"uniqueItems": true
},
{
- "description": "name of the ServiceAccount",
+ "description": "name of the MutatingAdmissionPolicyBinding",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -36682,231 +48492,724 @@
}
]
},
- "/api/v1/watch/namespaces/{namespace}/services": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "/apis/apiextensions.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions"
+ ]
+ }
+ },
+ "/apis/apiextensions.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ]
+ }
+ },
+ "/apis/apiextensions.k8s.io/v1/customresourcedefinitions": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of CustomResourceDefinition",
+ "operationId": "deleteCollectionCustomResourceDefinition",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind CustomResourceDefinition",
+ "operationId": "listCustomResourceDefinition",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinitionList"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
+ }
+ },
+ "parameters": [
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a CustomResourceDefinition",
+ "operationId": "createCustomResourceDefinition",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a CustomResourceDefinition",
+ "operationId": "deleteCustomResourceDefinition",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified CustomResourceDefinition",
+ "operationId": "readCustomResourceDefinition",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
}
- ]
- },
- "/api/v1/watch/namespaces/{namespace}/services/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the Service",
+ "description": "name of the CustomResourceDefinition",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/api/v1/watch/namespaces/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified CustomResourceDefinition",
+ "operationId": "patchCustomResourceDefinition",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified CustomResourceDefinition",
+ "operationId": "replaceCustomResourceDefinition",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ }
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
},
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified CustomResourceDefinition",
+ "operationId": "readCustomResourceDefinitionStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
+ }
+ },
+ "parameters": [
{
- "description": "name of the Namespace",
+ "description": "name of the CustomResourceDefinition",
"in": "path",
"name": "name",
"required": true,
@@ -36919,45 +49222,163 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified CustomResourceDefinition",
+ "operationId": "patchCustomResourceDefinitionStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified CustomResourceDefinition",
+ "operationId": "replaceCustomResourceDefinitionStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.CustomResourceDefinition"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiextensions_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiextensions.k8s.io",
+ "kind": "CustomResourceDefinition",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/api/v1/watch/nodes": {
+ "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -37038,7 +49459,7 @@
}
]
},
- "/api/v1/watch/nodes/{name}": {
+ "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -37076,7 +49497,7 @@
"uniqueItems": true
},
{
- "description": "name of the Node",
+ "description": "name of the CustomResourceDefinition",
"in": "path",
"name": "name",
"required": true,
@@ -37125,209 +49546,726 @@
"type": "boolean",
"uniqueItems": true
}
- ]
- },
- "/api/v1/watch/persistentvolumeclaims": {
+ ]
+ },
+ "/apis/apiregistration.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration"
+ ]
+ }
+ },
+ "/apis/apiregistration.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ]
+ }
+ },
+ "/apis/apiregistration.k8s.io/v1/apiservices": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of APIService",
+ "operationId": "deleteCollectionAPIService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind APIService",
+ "operationId": "listAPIService",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIServiceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
+ }
+ },
"parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create an APIService",
+ "operationId": "createAPIService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apiregistration.k8s.io/v1/apiservices/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete an APIService",
+ "operationId": "deleteAPIService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified APIService",
+ "operationId": "readAPIService",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
}
- ]
- },
- "/api/v1/watch/persistentvolumes": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the APIService",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/api/v1/watch/persistentvolumes/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified APIService",
+ "operationId": "patchAPIService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ }
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified APIService",
+ "operationId": "replaceAPIService",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified APIService",
+ "operationId": "readAPIServiceStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
+ }
+ },
+ "parameters": [
{
- "description": "name of the PersistentVolume",
+ "description": "name of the APIService",
"in": "path",
"name": "name",
"required": true,
@@ -37340,45 +50278,163 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified APIService",
+ "operationId": "patchAPIServiceStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified APIService",
+ "operationId": "replaceAPIServiceStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.APIService"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apiregistration_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "apiregistration.k8s.io",
+ "kind": "APIService",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/api/v1/watch/pods": {
+ "/apis/apiregistration.k8s.io/v1/watch/apiservices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -37459,7 +50515,7 @@
}
]
},
- "/api/v1/watch/podtemplates": {
+ "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -37497,86 +50553,13 @@
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/api/v1/watch/replicationcontrollers": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the APIService",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -37621,88 +50604,105 @@
}
]
},
- "/api/v1/watch/resourcequotas": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "/apis/apps/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps"
+ ]
+ }
+ },
+ "/apis/apps/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ]
+ }
+ },
+ "/apis/apps/v1/controllerrevisions": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ControllerRevision",
+ "operationId": "listControllerRevisionForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ControllerRevisionList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ControllerRevision",
+ "version": "v1"
}
- ]
- },
- "/api/v1/watch/secrets": {
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -37783,7 +50783,43 @@
}
]
},
- "/api/v1/watch/serviceaccounts": {
+ "/apis/apps/v1/daemonsets": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind DaemonSet",
+ "operationId": "listDaemonSetForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.DaemonSetList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "DaemonSet",
+ "version": "v1"
+ }
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -37864,7 +50900,43 @@
}
]
},
- "/api/v1/watch/services": {
+ "/apis/apps/v1/deployments": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Deployment",
+ "operationId": "listDeploymentForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.DeploymentList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "Deployment",
+ "version": "v1"
+ }
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -37945,103 +51017,13 @@
}
]
},
- "/apis/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available API versions",
- "operationId": "getAPIVersions",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroupList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apis"
- ]
- }
- },
- "/apis/admissionregistration.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration"
- ]
- }
- },
- "/apis/admissionregistration.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1"
- ]
- }
- },
- "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations": {
+ "/apis/apps/v1/namespaces/{namespace}/controllerrevisions": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of MutatingWebhookConfiguration",
- "operationId": "deleteCollectionMutatingWebhookConfiguration",
+ "description": "delete collection of ControllerRevision",
+ "operationId": "deleteCollectionNamespacedControllerRevision",
"parameters": [
{
"in": "body",
@@ -38078,6 +51060,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -38138,7 +51127,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -38152,12 +51142,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "MutatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ControllerRevision",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -38166,8 +51156,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind MutatingWebhookConfiguration",
- "operationId": "listMutatingWebhookConfiguration",
+ "description": "list or watch objects of kind ControllerRevision",
+ "operationId": "listNamespacedControllerRevision",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -38244,14 +51234,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfigurationList"
+ "$ref": "#/definitions/v1.ControllerRevisionList"
}
}
},
@@ -38259,16 +51251,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "MutatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ControllerRevision",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -38281,15 +51281,15 @@
"consumes": [
"application/json"
],
- "description": "create a MutatingWebhookConfiguration",
- "operationId": "createMutatingWebhookConfiguration",
+ "description": "create a ControllerRevision",
+ "operationId": "createNamespacedControllerRevision",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
},
{
@@ -38317,25 +51317,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
}
},
@@ -38343,24 +51344,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "MutatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ControllerRevision",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/{name}": {
+ "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a MutatingWebhookConfiguration",
- "operationId": "deleteMutatingWebhookConfiguration",
+ "description": "delete a ControllerRevision",
+ "operationId": "deleteNamespacedControllerRevision",
"parameters": [
{
"in": "body",
@@ -38383,6 +51384,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -38401,7 +51409,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -38421,12 +51430,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "MutatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ControllerRevision",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -38435,18 +51444,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified MutatingWebhookConfiguration",
- "operationId": "readMutatingWebhookConfiguration",
+ "description": "read the specified ControllerRevision",
+ "operationId": "readNamespacedControllerRevision",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
}
},
@@ -38454,24 +51464,32 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "MutatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ControllerRevision",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the MutatingWebhookConfiguration",
+ "description": "name of the ControllerRevision",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -38485,10 +51503,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified MutatingWebhookConfiguration",
- "operationId": "patchMutatingWebhookConfiguration",
+ "description": "partially update the specified ControllerRevision",
+ "operationId": "patchNamespacedControllerRevision",
"parameters": [
{
"in": "body",
@@ -38530,19 +51549,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
}
},
@@ -38550,12 +51570,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "MutatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ControllerRevision",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -38564,15 +51584,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified MutatingWebhookConfiguration",
- "operationId": "replaceMutatingWebhookConfiguration",
+ "description": "replace the specified ControllerRevision",
+ "operationId": "replaceNamespacedControllerRevision",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
},
{
@@ -38600,19 +51620,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.MutatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ControllerRevision"
}
}
},
@@ -38620,24 +51641,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "MutatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ControllerRevision",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies": {
+ "/apis/apps/v1/namespaces/{namespace}/daemonsets": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ValidatingAdmissionPolicy",
- "operationId": "deleteCollectionValidatingAdmissionPolicy",
+ "description": "delete collection of DaemonSet",
+ "operationId": "deleteCollectionNamespacedDaemonSet",
"parameters": [
{
"in": "body",
@@ -38674,6 +51695,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -38734,7 +51762,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -38748,12 +51777,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -38762,8 +51791,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ValidatingAdmissionPolicy",
- "operationId": "listValidatingAdmissionPolicy",
+ "description": "list or watch objects of kind DaemonSet",
+ "operationId": "listNamespacedDaemonSet",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -38840,14 +51869,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyList"
+ "$ref": "#/definitions/v1.DaemonSetList"
}
}
},
@@ -38855,16 +51886,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -38877,15 +51916,15 @@
"consumes": [
"application/json"
],
- "description": "create a ValidatingAdmissionPolicy",
- "operationId": "createValidatingAdmissionPolicy",
+ "description": "create a DaemonSet",
+ "operationId": "createNamespacedDaemonSet",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
{
@@ -38913,25 +51952,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
}
},
@@ -38939,24 +51979,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}": {
+ "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ValidatingAdmissionPolicy",
- "operationId": "deleteValidatingAdmissionPolicy",
+ "description": "delete a DaemonSet",
+ "operationId": "deleteNamespacedDaemonSet",
"parameters": [
{
"in": "body",
@@ -38979,6 +52019,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -38997,7 +52044,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -39017,12 +52065,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -39031,18 +52079,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicy",
+ "description": "read the specified DaemonSet",
+ "operationId": "readNamespacedDaemonSet",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
}
},
@@ -39050,24 +52099,32 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "name of the DaemonSet",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -39081,10 +52138,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicy",
+ "description": "partially update the specified DaemonSet",
+ "operationId": "patchNamespacedDaemonSet",
"parameters": [
{
"in": "body",
@@ -39126,19 +52184,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
}
},
@@ -39146,12 +52205,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -39160,15 +52219,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicy",
+ "description": "replace the specified DaemonSet",
+ "operationId": "replaceNamespacedDaemonSet",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
{
@@ -39196,19 +52255,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
}
},
@@ -39216,34 +52276,35 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicies/{name}/status": {
+ "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicyStatus",
+ "description": "read status of the specified DaemonSet",
+ "operationId": "readNamespacedDaemonSetStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
}
},
@@ -39251,24 +52312,32 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "name of the DaemonSet",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -39282,10 +52351,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicyStatus",
+ "description": "partially update status of the specified DaemonSet",
+ "operationId": "patchNamespacedDaemonSetStatus",
"parameters": [
{
"in": "body",
@@ -39327,19 +52397,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
}
},
@@ -39347,12 +52418,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -39361,15 +52432,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicyStatus",
+ "description": "replace status of the specified DaemonSet",
+ "operationId": "replaceNamespacedDaemonSetStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
{
@@ -39397,19 +52468,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.DaemonSet"
}
}
},
@@ -39417,24 +52489,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
+ "group": "apps",
+ "kind": "DaemonSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings": {
+ "/apis/apps/v1/namespaces/{namespace}/deployments": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ValidatingAdmissionPolicyBinding",
- "operationId": "deleteCollectionValidatingAdmissionPolicyBinding",
+ "description": "delete collection of Deployment",
+ "operationId": "deleteCollectionNamespacedDeployment",
"parameters": [
{
"in": "body",
@@ -39471,6 +52543,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -39531,7 +52610,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -39545,12 +52625,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "group": "apps",
+ "kind": "Deployment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -39559,8 +52639,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding",
- "operationId": "listValidatingAdmissionPolicyBinding",
+ "description": "list or watch objects of kind Deployment",
+ "operationId": "listNamespacedDeployment",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -39637,14 +52717,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBindingList"
+ "$ref": "#/definitions/v1.DeploymentList"
}
}
},
@@ -39652,16 +52734,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "group": "apps",
+ "kind": "Deployment",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -39674,15 +52764,15 @@
"consumes": [
"application/json"
],
- "description": "create a ValidatingAdmissionPolicyBinding",
- "operationId": "createValidatingAdmissionPolicyBinding",
+ "description": "create a Deployment",
+ "operationId": "createNamespacedDeployment",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Deployment"
}
},
{
@@ -39710,25 +52800,252 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Deployment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Deployment"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Deployment"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "Deployment",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apps/v1/namespaces/{namespace}/deployments/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a Deployment",
+ "operationId": "deleteNamespacedDeployment",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "Deployment",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Deployment",
+ "operationId": "readNamespacedDeployment",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Deployment"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "Deployment",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the Deployment",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified Deployment",
+ "operationId": "patchNamespacedDeployment",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Deployment"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Deployment"
}
}
},
@@ -39736,30 +53053,29 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "group": "apps",
+ "kind": "Deployment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/admissionregistration.k8s.io/v1/validatingadmissionpolicybindings/{name}": {
- "delete": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete a ValidatingAdmissionPolicyBinding",
- "operationId": "deleteValidatingAdmissionPolicyBinding",
+ "description": "replace the specified Deployment",
+ "operationId": "replaceNamespacedDeployment",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.Deployment"
}
},
{
@@ -39770,23 +53086,16 @@
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "propagationPolicy",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
}
@@ -39794,19 +53103,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Deployment"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Deployment"
}
}
},
@@ -39814,32 +53124,35 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "group": "apps",
+ "kind": "Deployment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified ValidatingAdmissionPolicyBinding",
- "operationId": "readValidatingAdmissionPolicyBinding",
+ "description": "read scale of the specified Deployment",
+ "operationId": "readNamespacedDeploymentScale",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Scale"
}
}
},
@@ -39847,24 +53160,32 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "group": "autoscaling",
+ "kind": "Scale",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicyBinding",
+ "description": "name of the Scale",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -39878,10 +53199,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ValidatingAdmissionPolicyBinding",
- "operationId": "patchValidatingAdmissionPolicyBinding",
+ "description": "partially update scale of the specified Deployment",
+ "operationId": "patchNamespacedDeploymentScale",
"parameters": [
{
"in": "body",
@@ -39923,19 +53245,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Scale"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Scale"
}
}
},
@@ -39943,12 +53266,12 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "group": "autoscaling",
+ "kind": "Scale",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -39957,15 +53280,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ValidatingAdmissionPolicyBinding",
- "operationId": "replaceValidatingAdmissionPolicyBinding",
+ "description": "replace scale of the specified Deployment",
+ "operationId": "replaceNamespacedDeploymentScale",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Scale"
}
},
{
@@ -39993,19 +53316,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Scale"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.Scale"
}
}
},
@@ -40013,127 +53337,35 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
+ "group": "autoscaling",
+ "kind": "Scale",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations": {
- "delete": {
+ "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "delete collection of ValidatingWebhookConfiguration",
- "operationId": "deleteCollectionValidatingWebhookConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
+ "description": "read status of the specified Deployment",
+ "operationId": "readNamespacedDeploymentStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Deployment"
}
}
},
@@ -40141,90 +53373,84 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "Deployment",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ }
},
- "get": {
+ "parameters": [
+ {
+ "description": "name of the Deployment",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "list or watch objects of kind ValidatingWebhookConfiguration",
- "operationId": "listValidatingWebhookConfiguration",
+ "description": "partially update status of the specified Deployment",
+ "operationId": "patchNamespacedDeploymentStatus",
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "labelSelector",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
- "name": "resourceVersion",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
"in": "query",
- "name": "watch",
+ "name": "force",
"type": "boolean",
"uniqueItems": true
}
@@ -40233,14 +53459,19 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfigurationList"
+ "$ref": "#/definitions/v1.Deployment"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Deployment"
}
}
},
@@ -40248,37 +53479,29 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "Deployment",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
},
- "parameters": [
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ "put": {
"consumes": [
"application/json"
],
- "description": "create a ValidatingWebhookConfiguration",
- "operationId": "createValidatingWebhookConfiguration",
+ "description": "replace status of the specified Deployment",
+ "operationId": "replaceNamespacedDeploymentStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.Deployment"
}
},
{
@@ -40306,25 +53529,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.Deployment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.Deployment"
}
}
},
@@ -40332,24 +53550,24 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "Deployment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/{name}": {
+ "/apis/apps/v1/namespaces/{namespace}/replicasets": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ValidatingWebhookConfiguration",
- "operationId": "deleteValidatingWebhookConfiguration",
+ "description": "delete collection of ReplicaSet",
+ "operationId": "deleteCollectionNamespacedReplicaSet",
"parameters": [
{
"in": "body",
@@ -40359,179 +53577,108 @@
}
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "dryRun",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "dryRun",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingWebhookConfiguration",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ValidatingWebhookConfiguration",
- "operationId": "readValidatingWebhookConfiguration",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingWebhookConfiguration",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the ValidatingWebhookConfiguration",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ValidatingWebhookConfiguration",
- "operationId": "patchValidatingWebhookConfiguration",
- "parameters": [
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
{
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "dryRun",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"in": "query",
- "name": "fieldManager",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "fieldValidation",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
},
{
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "force",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
"type": "boolean",
"uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -40539,69 +53686,108 @@
"https"
],
"tags": [
- "admissionregistration_v1"
+ "apps_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingWebhookConfiguration",
+ "group": "apps",
+ "kind": "ReplicaSet",
"version": "v1"
},
"x-codegen-request-body-name": "body"
},
- "put": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "replace the specified ValidatingWebhookConfiguration",
- "operationId": "replaceValidatingWebhookConfiguration",
+ "description": "list or watch objects of kind ReplicaSet",
+ "operationId": "listNamespacedReplicaSet",
"parameters": [
{
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
- }
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "dryRun",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ValidatingWebhookConfiguration"
+ "$ref": "#/definitions/v1.ReplicaSetList"
}
}
},
@@ -40609,479 +53795,241 @@
"https"
],
"tags": [
- "admissionregistration_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingWebhookConfiguration",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the MutatingWebhookConfiguration",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicies/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ValidatingAdmissionPolicy",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
}
- ]
- },
- "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ReplicaSet",
+ "operationId": "createNamespacedReplicaSet",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ReplicaSet",
+ "operationId": "deleteNamespacedReplicaSet",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ReplicaSet",
+ "operationId": "readNamespacedReplicaSet",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
}
- ]
- },
- "/apis/admissionregistration.k8s.io/v1/watch/validatingadmissionpolicybindings/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the ReplicaSet",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ValidatingAdmissionPolicyBinding",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -41092,166 +54040,422 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ReplicaSet",
+ "operationId": "patchNamespacedReplicaSet",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ReplicaSet",
+ "operationId": "replaceNamespacedReplicaSet",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read scale of the specified ReplicaSet",
+ "operationId": "readNamespacedReplicaSetScale",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
}
- ]
- },
- "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
+ "description": "name of the Scale",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update scale of the specified ReplicaSet",
+ "operationId": "patchNamespacedReplicaSetScale",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace scale of the specified ReplicaSet",
+ "operationId": "replaceNamespacedReplicaSetScale",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Scale"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified ReplicaSet",
+ "operationId": "readNamespacedReplicaSetStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
}
- ]
- },
- "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the ReplicaSet",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ValidatingWebhookConfiguration",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -41262,63 +54466,144 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/apis/admissionregistration.k8s.io/v1alpha1/": {
- "get": {
+ ],
+ "patch": {
"consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified ReplicaSet",
+ "operationId": "patchNamespacedReplicaSetStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ReplicaSet",
+ "operationId": "replaceNamespacedReplicaSetStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1.ReplicaSet"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.ReplicaSet"
}
}
},
@@ -41326,17 +54611,24 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
- ]
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies": {
+ "/apis/apps/v1/namespaces/{namespace}/statefulsets": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ValidatingAdmissionPolicy",
- "operationId": "deleteCollectionValidatingAdmissionPolicy",
+ "description": "delete collection of StatefulSet",
+ "operationId": "deleteCollectionNamespacedStatefulSet",
"parameters": [
{
"in": "body",
@@ -41373,6 +54665,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -41433,7 +54732,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -41447,13 +54747,13 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -41461,8 +54761,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ValidatingAdmissionPolicy",
- "operationId": "listValidatingAdmissionPolicy",
+ "description": "list or watch objects of kind StatefulSet",
+ "operationId": "listNamespacedStatefulSet",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -41539,14 +54839,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyList"
+ "$ref": "#/definitions/v1.StatefulSetList"
}
}
},
@@ -41554,16 +54856,24 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -41576,15 +54886,15 @@
"consumes": [
"application/json"
],
- "description": "create a ValidatingAdmissionPolicy",
- "operationId": "createValidatingAdmissionPolicy",
+ "description": "create a StatefulSet",
+ "operationId": "createNamespacedStatefulSet",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
},
{
@@ -41612,25 +54922,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
}
},
@@ -41638,24 +54949,24 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}": {
+ "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ValidatingAdmissionPolicy",
- "operationId": "deleteValidatingAdmissionPolicy",
+ "description": "delete a StatefulSet",
+ "operationId": "deleteNamespacedStatefulSet",
"parameters": [
{
"in": "body",
@@ -41678,6 +54989,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -41696,7 +55014,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -41716,13 +55035,13 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -41730,18 +55049,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicy",
+ "description": "read the specified StatefulSet",
+ "operationId": "readNamespacedStatefulSet",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
}
},
@@ -41749,24 +55069,32 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "name of the StatefulSet",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -41780,10 +55108,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicy",
+ "description": "partially update the specified StatefulSet",
+ "operationId": "patchNamespacedStatefulSet",
"parameters": [
{
"in": "body",
@@ -41825,19 +55154,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
}
},
@@ -41845,13 +55175,13 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -41859,15 +55189,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicy",
+ "description": "replace the specified StatefulSet",
+ "operationId": "replaceNamespacedStatefulSet",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
},
{
@@ -41895,19 +55225,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.StatefulSet"
}
}
},
@@ -41915,34 +55246,35 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicies/{name}/status": {
+ "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicyStatus",
+ "description": "read scale of the specified StatefulSet",
+ "operationId": "readNamespacedStatefulSetScale",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.Scale"
}
}
},
@@ -41950,24 +55282,32 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "name of the Scale",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -41981,10 +55321,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicyStatus",
+ "description": "partially update scale of the specified StatefulSet",
+ "operationId": "patchNamespacedStatefulSetScale",
"parameters": [
{
"in": "body",
@@ -42026,19 +55367,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.Scale"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.Scale"
}
}
},
@@ -42046,13 +55388,13 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -42060,15 +55402,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicyStatus",
+ "description": "replace scale of the specified StatefulSet",
+ "operationId": "replaceNamespacedStatefulSetScale",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.Scale"
}
},
{
@@ -42096,19 +55438,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.Scale"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicy"
+ "$ref": "#/definitions/v1.Scale"
}
}
},
@@ -42116,39 +55459,95 @@
"https"
],
"tags": [
- "admissionregistration_v1alpha1"
+ "apps_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1alpha1"
+ "group": "autoscaling",
+ "kind": "Scale",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings": {
- "delete": {
+ "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "delete collection of ValidatingAdmissionPolicyBinding",
- "operationId": "deleteCollectionValidatingAdmissionPolicyBinding",
+ "description": "read status of the specified StatefulSet",
+ "operationId": "readNamespacedStatefulSetStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.StatefulSet"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the StatefulSet",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified StatefulSet",
+ "operationId": "patchNamespacedStatefulSetStatus",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.Patch"
}
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -42157,409 +55556,837 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
- "name": "fieldSelector",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "labelSelector",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
"in": "query",
- "name": "limit",
- "type": "integer",
+ "name": "force",
+ "type": "boolean",
"uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.StatefulSet"
+ }
},
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.StatefulSet"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified StatefulSet",
+ "operationId": "replaceNamespacedStatefulSetStatus",
+ "parameters": [
{
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.StatefulSet"
+ }
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "propagationPolicy",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "resourceVersion",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.StatefulSet"
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.StatefulSet"
+ }
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/apps/v1/replicasets": {
+ "get": {
+ "consumes": [
+ "application/json"
],
+ "description": "list or watch objects of kind ReplicaSet",
+ "operationId": "listReplicaSetForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ReplicaSetList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "ReplicaSet",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/apps/v1/statefulsets": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind StatefulSet",
+ "operationId": "listStatefulSetForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.StatefulSetList"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1alpha1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1alpha1"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "apps_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "apps",
+ "kind": "StatefulSet",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/apps/v1/watch/controllerrevisions": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/apps/v1/watch/daemonsets": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/apps/v1/watch/deployments": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding",
- "operationId": "listValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBindingList"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1alpha1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1alpha1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": {
"parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a ValidatingAdmissionPolicyBinding",
- "operationId": "createValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1alpha1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1alpha1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/admissionregistration.k8s.io/v1alpha1/validatingadmissionpolicybindings/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ValidatingAdmissionPolicyBinding",
- "operationId": "deleteValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1alpha1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1alpha1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ValidatingAdmissionPolicyBinding",
- "operationId": "readValidatingAdmissionPolicyBinding",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1alpha1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1alpha1"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ControllerRevision",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": {
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicyBinding",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -42570,160 +56397,45 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ValidatingAdmissionPolicyBinding",
- "operationId": "patchValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1alpha1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1alpha1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ValidatingAdmissionPolicyBinding",
- "operationId": "replaceValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ValidatingAdmissionPolicyBinding"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1alpha1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1alpha1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies": {
+ "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -42760,6 +56472,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the DaemonSet",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -42804,7 +56532,7 @@
}
]
},
- "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicies/{name}": {
+ "/apis/apps/v1/watch/namespaces/{namespace}/deployments": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -42842,9 +56570,9 @@
"uniqueItems": true
},
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -42893,7 +56621,7 @@
}
]
},
- "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicybindings": {
+ "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -42930,6 +56658,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the Deployment",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -42974,7 +56718,7 @@
}
]
},
- "/apis/admissionregistration.k8s.io/v1alpha1/watch/validatingadmissionpolicybindings/{name}": {
+ "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -43012,9 +56756,9 @@
"uniqueItems": true
},
{
- "description": "name of the ValidatingAdmissionPolicyBinding",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -43063,469 +56807,144 @@
}
]
},
- "/apis/admissionregistration.k8s.io/v1beta1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
+ "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ]
- }
- },
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ValidatingAdmissionPolicy",
- "operationId": "deleteCollectionValidatingAdmissionPolicy",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ValidatingAdmissionPolicy",
- "operationId": "listValidatingAdmissionPolicy",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyList"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ReplicaSet",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
- }
- },
- "parameters": [
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a ValidatingAdmissionPolicy",
- "operationId": "createValidatingAdmissionPolicy",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ValidatingAdmissionPolicy",
- "operationId": "deleteValidatingAdmissionPolicy",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicy",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": {
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -43536,577 +56955,354 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicy",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicy",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicies/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified ValidatingAdmissionPolicy",
- "operationId": "readValidatingAdmissionPolicyStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": {
"parameters": [
{
- "description": "name of the ValidatingAdmissionPolicy",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the StatefulSet",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified ValidatingAdmissionPolicy",
- "operationId": "patchValidatingAdmissionPolicyStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
+ ]
+ },
+ "/apis/apps/v1/watch/replicasets": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified ValidatingAdmissionPolicy",
- "operationId": "replaceValidatingAdmissionPolicyStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicy"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicy",
- "version": "v1beta1"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ValidatingAdmissionPolicyBinding",
- "operationId": "deleteCollectionValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ "/apis/apps/v1/watch/statefulsets": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1beta1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ValidatingAdmissionPolicyBinding",
- "operationId": "listValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/authentication.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "authentication"
+ ]
+ }
+ },
+ "/apis/authentication.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBindingList"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -44114,16 +57310,33 @@
"https"
],
"tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1beta1"
- }
- },
+ "authentication_v1"
+ ]
+ }
+ },
+ "/apis/authentication.k8s.io/v1/selfsubjectreviews": {
"parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -44136,61 +57349,41 @@
"consumes": [
"application/json"
],
- "description": "create a ValidatingAdmissionPolicyBinding",
- "operationId": "createValidatingAdmissionPolicyBinding",
+ "description": "create a SelfSubjectReview",
+ "operationId": "createSelfSubjectReview",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.SelfSubjectReview"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.SelfSubjectReview"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.SelfSubjectReview"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.SelfSubjectReview"
}
}
},
@@ -44198,77 +57391,87 @@
"https"
],
"tags": [
- "admissionregistration_v1beta1"
+ "authentication_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1beta1"
+ "group": "authentication.k8s.io",
+ "kind": "SelfSubjectReview",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/admissionregistration.k8s.io/v1beta1/validatingadmissionpolicybindings/{name}": {
- "delete": {
+ "/apis/authentication.k8s.io/v1/tokenreviews": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "delete a ValidatingAdmissionPolicyBinding",
- "operationId": "deleteValidatingAdmissionPolicyBinding",
+ "description": "create a TokenReview",
+ "operationId": "createTokenReview",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.TokenReview"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.TokenReview"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.TokenReview"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.TokenReview"
}
}
},
@@ -44276,22 +57479,26 @@
"https"
],
"tags": [
- "admissionregistration_v1beta1"
+ "authentication_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1beta1"
+ "group": "authentication.k8s.io",
+ "kind": "TokenReview",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/authorization.k8s.io/": {
"get": {
"consumes": [
- "application/json"
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
- "description": "read the specified ValidatingAdmissionPolicyBinding",
- "operationId": "readValidatingAdmissionPolicyBinding",
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
@@ -44301,7 +57508,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.APIGroup"
}
}
},
@@ -44309,95 +57516,31 @@
"https"
],
"tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1beta1"
- }
- },
- "parameters": [
- {
- "description": "name of the ValidatingAdmissionPolicyBinding",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
+ "authorization"
+ ]
+ }
+ },
+ "/apis/authorization.k8s.io/v1/": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ValidatingAdmissionPolicyBinding",
- "operationId": "patchValidatingAdmissionPolicyBinding",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -44405,69 +57548,88 @@
"https"
],
"tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1beta1"
+ "authorization_v1"
+ ]
+ }
+ },
+ "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": {
+ "parameters": [
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "replace the specified ValidatingAdmissionPolicyBinding",
- "operationId": "replaceValidatingAdmissionPolicyBinding",
+ "description": "create a LocalSubjectAccessReview",
+ "operationId": "createNamespacedLocalSubjectAccessReview",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.LocalSubjectAccessReview"
}
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.LocalSubjectAccessReview"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.ValidatingAdmissionPolicyBinding"
+ "$ref": "#/definitions/v1.LocalSubjectAccessReview"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.LocalSubjectAccessReview"
}
}
},
@@ -44475,140 +57637,37 @@
"https"
],
"tags": [
- "admissionregistration_v1beta1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "admissionregistration.k8s.io",
- "kind": "ValidatingAdmissionPolicyBinding",
- "version": "v1beta1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicies": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "authorization_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "authorization.k8s.io",
+ "kind": "LocalSubjectAccessReview",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicies/{name}": {
+ "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": {
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "fieldSelector",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "labelSelector",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ValidatingAdmissionPolicy",
- "in": "path",
- "name": "name",
- "required": true,
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
},
@@ -44618,126 +57677,340 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a SelfSubjectAccessReview",
+ "operationId": "createSelfSubjectAccessReview",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectAccessReview"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectAccessReview"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectAccessReview"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectAccessReview"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "authorization_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "authorization.k8s.io",
+ "kind": "SelfSubjectAccessReview",
+ "version": "v1"
},
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": {
+ "parameters": [
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
+ "name": "fieldValidation",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "watch",
- "type": "boolean",
+ "name": "pretty",
+ "type": "string",
"uniqueItems": true
}
- ]
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a SelfSubjectRulesReview",
+ "operationId": "createSelfSubjectRulesReview",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectRulesReview"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectRulesReview"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectRulesReview"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.SelfSubjectRulesReview"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "authorization_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "authorization.k8s.io",
+ "kind": "SelfSubjectRulesReview",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicybindings": {
+ "/apis/authorization.k8s.io/v1/subjectaccessreviews": {
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "continue",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "fieldSelector",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "labelSelector",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a SubjectAccessReview",
+ "operationId": "createSubjectAccessReview",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.SubjectAccessReview"
+ }
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.SubjectAccessReview"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.SubjectAccessReview"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.SubjectAccessReview"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "authorization_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "authorization.k8s.io",
+ "kind": "SubjectAccessReview",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/autoscaling/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "autoscaling"
+ ]
+ }
+ },
+ "/apis/autoscaling/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "autoscaling_v1"
+ ]
+ }
+ },
+ "/apis/autoscaling/v1/horizontalpodautoscalers": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind HorizontalPodAutoscaler",
+ "operationId": "listHorizontalPodAutoscalerForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.HorizontalPodAutoscalerList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "autoscaling_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v1"
}
- ]
- },
- "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingadmissionpolicybindings/{name}": {
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -44774,14 +58047,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ValidatingAdmissionPolicyBinding",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -44826,73 +58091,13 @@
}
]
},
- "/apis/apiextensions.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apiextensions"
- ]
- }
- },
- "/apis/apiextensions.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apiextensions_v1"
- ]
- }
- },
- "/apis/apiextensions.k8s.io/v1/customresourcedefinitions": {
+ "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CustomResourceDefinition",
- "operationId": "deleteCollectionCustomResourceDefinition",
+ "description": "delete collection of HorizontalPodAutoscaler",
+ "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
@@ -44929,6 +58134,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -44989,7 +58201,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -45003,12 +58216,12 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -45017,8 +58230,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CustomResourceDefinition",
- "operationId": "listCustomResourceDefinition",
+ "description": "list or watch objects of kind HorizontalPodAutoscaler",
+ "operationId": "listNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -45095,14 +58308,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinitionList"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscalerList"
}
}
},
@@ -45110,16 +58325,24 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -45132,15 +58355,15 @@
"consumes": [
"application/json"
],
- "description": "create a CustomResourceDefinition",
- "operationId": "createCustomResourceDefinition",
+ "description": "create a HorizontalPodAutoscaler",
+ "operationId": "createNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
{
@@ -45168,25 +58391,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
}
},
@@ -45194,24 +58418,24 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}": {
+ "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CustomResourceDefinition",
- "operationId": "deleteCustomResourceDefinition",
+ "description": "delete a HorizontalPodAutoscaler",
+ "operationId": "deleteNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
@@ -45234,6 +58458,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -45252,7 +58483,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -45272,12 +58504,12 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -45286,18 +58518,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified CustomResourceDefinition",
- "operationId": "readCustomResourceDefinition",
+ "description": "read the specified HorizontalPodAutoscaler",
+ "operationId": "readNamespacedHorizontalPodAutoscaler",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
}
},
@@ -45305,24 +58538,32 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CustomResourceDefinition",
+ "description": "name of the HorizontalPodAutoscaler",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -45336,10 +58577,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified CustomResourceDefinition",
- "operationId": "patchCustomResourceDefinition",
+ "description": "partially update the specified HorizontalPodAutoscaler",
+ "operationId": "patchNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
@@ -45381,19 +58623,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
}
},
@@ -45401,12 +58644,12 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -45415,15 +58658,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified CustomResourceDefinition",
- "operationId": "replaceCustomResourceDefinition",
+ "description": "replace the specified HorizontalPodAutoscaler",
+ "operationId": "replaceNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
{
@@ -45451,19 +58694,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
}
},
@@ -45471,34 +58715,35 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apiextensions.k8s.io/v1/customresourcedefinitions/{name}/status": {
+ "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified CustomResourceDefinition",
- "operationId": "readCustomResourceDefinitionStatus",
+ "description": "read status of the specified HorizontalPodAutoscaler",
+ "operationId": "readNamespacedHorizontalPodAutoscalerStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
}
},
@@ -45506,24 +58751,32 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CustomResourceDefinition",
+ "description": "name of the HorizontalPodAutoscaler",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -45537,10 +58790,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified CustomResourceDefinition",
- "operationId": "patchCustomResourceDefinitionStatus",
+ "description": "partially update status of the specified HorizontalPodAutoscaler",
+ "operationId": "patchNamespacedHorizontalPodAutoscalerStatus",
"parameters": [
{
"in": "body",
@@ -45582,19 +58836,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
}
},
@@ -45602,12 +58857,12 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -45616,15 +58871,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified CustomResourceDefinition",
- "operationId": "replaceCustomResourceDefinitionStatus",
+ "description": "replace status of the specified HorizontalPodAutoscaler",
+ "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
{
@@ -45652,19 +58907,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CustomResourceDefinition"
+ "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
}
}
},
@@ -45672,18 +58928,18 @@
"https"
],
"tags": [
- "apiextensions_v1"
+ "autoscaling_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apiextensions.k8s.io",
- "kind": "CustomResourceDefinition",
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": {
+ "/apis/autoscaling/v1/watch/horizontalpodautoscalers": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -45764,7 +59020,7 @@
}
]
},
- "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": {
+ "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -45802,13 +59058,110 @@
"uniqueItems": true
},
{
- "description": "name of the CustomResourceDefinition",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the HorizontalPodAutoscaler",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -45853,25 +59206,27 @@
}
]
},
- "/apis/apiregistration.k8s.io/": {
+ "/apis/autoscaling/v2/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -45879,29 +59234,31 @@
"https"
],
"tags": [
- "apiregistration"
+ "autoscaling_v2"
]
}
},
- "/apis/apiregistration.k8s.io/v1/": {
+ "/apis/autoscaling/v2/horizontalpodautoscalers": {
"get": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json"
],
- "description": "get available resources",
- "operationId": "getAPIResources",
+ "description": "list or watch objects of kind HorizontalPodAutoscaler",
+ "operationId": "listHorizontalPodAutoscalerForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscalerList"
}
}
},
@@ -45909,17 +59266,102 @@
"https"
],
"tags": [
- "apiregistration_v1"
- ]
- }
+ "autoscaling_v2"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/apiregistration.k8s.io/v1/apiservices": {
+ "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of APIService",
- "operationId": "deleteCollectionAPIService",
+ "description": "delete collection of HorizontalPodAutoscaler",
+ "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
@@ -45956,6 +59398,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -46016,7 +59465,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -46030,13 +59480,13 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
},
"x-codegen-request-body-name": "body"
},
@@ -46044,8 +59494,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind APIService",
- "operationId": "listAPIService",
+ "description": "list or watch objects of kind HorizontalPodAutoscaler",
+ "operationId": "listNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -46122,14 +59572,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIServiceList"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscalerList"
}
}
},
@@ -46137,16 +59589,24 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -46159,15 +59619,15 @@
"consumes": [
"application/json"
],
- "description": "create an APIService",
- "operationId": "createAPIService",
+ "description": "create a HorizontalPodAutoscaler",
+ "operationId": "createNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
},
{
@@ -46195,25 +59655,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
}
},
@@ -46221,24 +59682,24 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apiregistration.k8s.io/v1/apiservices/{name}": {
+ "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an APIService",
- "operationId": "deleteAPIService",
+ "description": "delete a HorizontalPodAutoscaler",
+ "operationId": "deleteNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
@@ -46261,6 +59722,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -46279,7 +59747,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -46299,13 +59768,13 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
},
"x-codegen-request-body-name": "body"
},
@@ -46313,18 +59782,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified APIService",
- "operationId": "readAPIService",
+ "description": "read the specified HorizontalPodAutoscaler",
+ "operationId": "readNamespacedHorizontalPodAutoscaler",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
}
},
@@ -46332,24 +59802,32 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
}
},
"parameters": [
{
- "description": "name of the APIService",
+ "description": "name of the HorizontalPodAutoscaler",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -46363,10 +59841,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified APIService",
- "operationId": "patchAPIService",
+ "description": "partially update the specified HorizontalPodAutoscaler",
+ "operationId": "patchNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
@@ -46408,19 +59887,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
}
},
@@ -46428,13 +59908,13 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
},
"x-codegen-request-body-name": "body"
},
@@ -46442,15 +59922,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified APIService",
- "operationId": "replaceAPIService",
+ "description": "replace the specified HorizontalPodAutoscaler",
+ "operationId": "replaceNamespacedHorizontalPodAutoscaler",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
},
{
@@ -46478,19 +59958,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
}
},
@@ -46498,34 +59979,35 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apiregistration.k8s.io/v1/apiservices/{name}/status": {
+ "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified APIService",
- "operationId": "readAPIServiceStatus",
+ "description": "read status of the specified HorizontalPodAutoscaler",
+ "operationId": "readNamespacedHorizontalPodAutoscalerStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIService"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
}
},
@@ -46533,18 +60015,18 @@
"https"
],
"tags": [
- "apiregistration_v1"
+ "autoscaling_v2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
}
},
"parameters": [
{
- "description": "name of the APIService",
+ "description": "name of the HorizontalPodAutoscaler",
"in": "path",
"name": "name",
"required": true,
@@ -46552,383 +60034,86 @@
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified APIService",
- "operationId": "patchAPIServiceStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIService"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.APIService"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apiregistration_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified APIService",
- "operationId": "replaceAPIServiceStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.APIService"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIService"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.APIService"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apiregistration_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "apiregistration.k8s.io",
- "kind": "APIService",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/apiregistration.k8s.io/v1/watch/apiservices": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the APIService",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
},
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/apps/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "responses": {
- "200": {
- "description": "OK",
+ "description": "partially update status of the specified HorizontalPodAutoscaler",
+ "operationId": "patchNamespacedHorizontalPodAutoscalerStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1.Patch"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps"
- ]
- }
- },
- "/apis/apps/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
}
},
@@ -46936,29 +60121,70 @@
"https"
],
"tags": [
- "apps_v1"
- ]
- }
- },
- "/apis/apps/v1/controllerrevisions": {
- "get": {
+ "autoscaling_v2"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ControllerRevision",
- "operationId": "listControllerRevisionForAllNamespaces",
+ "description": "replace status of the specified HorizontalPodAutoscaler",
+ "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ControllerRevisionList"
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
}
}
},
@@ -46966,15 +60192,18 @@
"https"
],
"tags": [
- "apps_v1"
+ "autoscaling_v2"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
- "version": "v1"
- }
- },
+ "group": "autoscaling",
+ "kind": "HorizontalPodAutoscaler",
+ "version": "v2"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/autoscaling/v2/watch/horizontalpodautoscalers": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47055,41 +60284,7 @@
}
]
},
- "/apis/apps/v1/daemonsets": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind DaemonSet",
- "operationId": "listDaemonSetForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.DaemonSetList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
- "version": "v1"
- }
- },
+ "/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47126,6 +60321,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -47170,41 +60373,7 @@
}
]
},
- "/apis/apps/v1/deployments": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Deployment",
- "operationId": "listDeploymentForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.DeploymentList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
- "version": "v1"
- }
- },
+ "/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -47242,336 +60411,74 @@
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
+ "description": "name of the HorizontalPodAutoscaler",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "watch",
- "type": "boolean",
+ "name": "resourceVersion",
+ "type": "string",
"uniqueItems": true
- }
- ]
- },
- "/apis/apps/v1/namespaces/{namespace}/controllerrevisions": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ControllerRevision",
- "operationId": "deleteCollectionNamespacedControllerRevision",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ControllerRevision",
- "operationId": "listNamespacedControllerRevision",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevisionList"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
"type": "string",
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
"in": "query",
- "name": "pretty",
- "type": "string",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
"uniqueItems": true
}
- ],
- "post": {
+ ]
+ },
+ "/apis/batch/": {
+ "get": {
"consumes": [
- "application/json"
- ],
- "description": "create a ControllerRevision",
- "operationId": "createNamespacedControllerRevision",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
@@ -47581,19 +60488,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
+ "$ref": "#/definitions/v1.APIGroup"
}
}
},
@@ -47601,77 +60496,31 @@
"https"
],
"tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ "batch"
+ ]
}
},
- "/apis/apps/v1/namespaces/{namespace}/controllerrevisions/{name}": {
- "delete": {
+ "/apis/batch/v1/": {
+ "get": {
"consumes": [
- "application/json"
- ],
- "description": "delete a ControllerRevision",
- "operationId": "deleteNamespacedControllerRevision",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -47679,32 +60528,31 @@
"https"
],
"tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
+ "batch_v1"
+ ]
+ }
+ },
+ "/apis/batch/v1/cronjobs": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified ControllerRevision",
- "operationId": "readNamespacedControllerRevision",
+ "description": "list or watch objects of kind CronJob",
+ "operationId": "listCronJobForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
+ "$ref": "#/definitions/v1.CronJobList"
}
}
},
@@ -47712,173 +60560,116 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ControllerRevision",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ControllerRevision",
- "operationId": "patchNamespacedControllerRevision",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/batch/v1/jobs": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "replace the specified ControllerRevision",
- "operationId": "replaceNamespacedControllerRevision",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
+ "description": "list or watch objects of kind Job",
+ "operationId": "listJobForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.ControllerRevision"
+ "$ref": "#/definitions/v1.JobList"
}
}
},
@@ -47886,24 +60677,102 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ControllerRevision",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/apps/v1/namespaces/{namespace}/daemonsets": {
+ "/apis/batch/v1/namespaces/{namespace}/cronjobs": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of DaemonSet",
- "operationId": "deleteCollectionNamespacedDaemonSet",
+ "description": "delete collection of CronJob",
+ "operationId": "deleteCollectionNamespacedCronJob",
"parameters": [
{
"in": "body",
@@ -47940,6 +60809,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -48000,7 +60876,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -48014,12 +60891,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -48028,8 +60905,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind DaemonSet",
- "operationId": "listNamespacedDaemonSet",
+ "description": "list or watch objects of kind CronJob",
+ "operationId": "listNamespacedCronJob",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -48106,14 +60983,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSetList"
+ "$ref": "#/definitions/v1.CronJobList"
}
}
},
@@ -48121,12 +61000,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
}
},
@@ -48151,15 +61030,15 @@
"consumes": [
"application/json"
],
- "description": "create a DaemonSet",
- "operationId": "createNamespacedDaemonSet",
+ "description": "create a CronJob",
+ "operationId": "createNamespacedCronJob",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
{
@@ -48187,25 +61066,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
}
},
@@ -48213,24 +61093,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}": {
+ "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a DaemonSet",
- "operationId": "deleteNamespacedDaemonSet",
+ "description": "delete a CronJob",
+ "operationId": "deleteNamespacedCronJob",
"parameters": [
{
"in": "body",
@@ -48253,6 +61133,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -48271,7 +61158,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -48291,12 +61179,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -48305,18 +61193,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified DaemonSet",
- "operationId": "readNamespacedDaemonSet",
+ "description": "read the specified CronJob",
+ "operationId": "readNamespacedCronJob",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
}
},
@@ -48324,18 +61213,18 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the DaemonSet",
+ "description": "name of the CronJob",
"in": "path",
"name": "name",
"required": true,
@@ -48363,10 +61252,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified DaemonSet",
- "operationId": "patchNamespacedDaemonSet",
+ "description": "partially update the specified CronJob",
+ "operationId": "patchNamespacedCronJob",
"parameters": [
{
"in": "body",
@@ -48408,19 +61298,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
}
},
@@ -48428,12 +61319,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -48442,15 +61333,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified DaemonSet",
- "operationId": "replaceNamespacedDaemonSet",
+ "description": "replace the specified CronJob",
+ "operationId": "replaceNamespacedCronJob",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
{
@@ -48478,19 +61369,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
}
},
@@ -48498,34 +61390,35 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/daemonsets/{name}/status": {
+ "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified DaemonSet",
- "operationId": "readNamespacedDaemonSetStatus",
+ "description": "read status of the specified CronJob",
+ "operationId": "readNamespacedCronJobStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
}
},
@@ -48533,18 +61426,18 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the DaemonSet",
+ "description": "name of the CronJob",
"in": "path",
"name": "name",
"required": true,
@@ -48572,10 +61465,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified DaemonSet",
- "operationId": "patchNamespacedDaemonSetStatus",
+ "description": "partially update status of the specified CronJob",
+ "operationId": "patchNamespacedCronJobStatus",
"parameters": [
{
"in": "body",
@@ -48617,19 +61511,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
}
},
@@ -48637,12 +61532,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -48651,15 +61546,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified DaemonSet",
- "operationId": "replaceNamespacedDaemonSetStatus",
+ "description": "replace status of the specified CronJob",
+ "operationId": "replaceNamespacedCronJobStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
{
@@ -48687,19 +61582,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.DaemonSet"
+ "$ref": "#/definitions/v1.CronJob"
}
}
},
@@ -48707,24 +61603,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "DaemonSet",
+ "group": "batch",
+ "kind": "CronJob",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/deployments": {
+ "/apis/batch/v1/namespaces/{namespace}/jobs": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Deployment",
- "operationId": "deleteCollectionNamespacedDeployment",
+ "description": "delete collection of Job",
+ "operationId": "deleteCollectionNamespacedJob",
"parameters": [
{
"in": "body",
@@ -48761,6 +61657,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -48821,7 +61724,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -48835,12 +61739,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -48849,8 +61753,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Deployment",
- "operationId": "listNamespacedDeployment",
+ "description": "list or watch objects of kind Job",
+ "operationId": "listNamespacedJob",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -48927,14 +61831,229 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.JobList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "batch_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "batch",
+ "kind": "Job",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a Job",
+ "operationId": "createNamespacedJob",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Job"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Job"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.Job"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Job"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "batch_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "batch",
+ "kind": "Job",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a Job",
+ "operationId": "deleteNamespacedJob",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "batch_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "batch",
+ "kind": "Job",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified Job",
+ "operationId": "readNamespacedJob",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.DeploymentList"
+ "$ref": "#/definitions/v1.Job"
}
}
},
@@ -48942,16 +62061,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "name of the Job",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -48968,19 +62095,23 @@
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "create a Deployment",
- "operationId": "createNamespacedDeployment",
+ "description": "partially update the specified Job",
+ "operationId": "patchNamespacedJob",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Patch"
}
},
{
@@ -48991,7 +62122,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -49003,30 +62134,32 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
}
},
@@ -49034,30 +62167,29 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/apps/v1/namespaces/{namespace}/deployments/{name}": {
- "delete": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete a Deployment",
- "operationId": "deleteNamespacedDeployment",
+ "description": "replace the specified Job",
+ "operationId": "replaceNamespacedJob",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.Job"
}
},
{
@@ -49068,23 +62200,16 @@
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "propagationPolicy",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
}
@@ -49092,19 +62217,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Job"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Job"
}
}
},
@@ -49112,32 +62238,35 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified Deployment",
- "operationId": "readNamespacedDeployment",
+ "description": "read status of the specified Job",
+ "operationId": "readNamespacedJobStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
}
},
@@ -49145,18 +62274,18 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Deployment",
+ "description": "name of the Job",
"in": "path",
"name": "name",
"required": true,
@@ -49184,10 +62313,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified Deployment",
- "operationId": "patchNamespacedDeployment",
+ "description": "partially update status of the specified Job",
+ "operationId": "patchNamespacedJobStatus",
"parameters": [
{
"in": "body",
@@ -49229,19 +62359,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
}
},
@@ -49249,12 +62380,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -49263,15 +62394,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Deployment",
- "operationId": "replaceNamespacedDeployment",
+ "description": "replace status of the specified Job",
+ "operationId": "replaceNamespacedJobStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
},
{
@@ -49299,19 +62430,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.Job"
}
}
},
@@ -49319,59 +62451,402 @@
"https"
],
"tags": [
- "apps_v1"
+ "batch_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
+ "group": "batch",
+ "kind": "Job",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/scale": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read scale of the specified Deployment",
- "operationId": "readNamespacedDeploymentScale",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
+ "/apis/batch/v1/watch/cronjobs": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/batch/v1/watch/jobs": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the CronJob",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/batch/v1/watch/namespaces/{namespace}/jobs": {
"parameters": [
{
- "description": "name of the Scale",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -49386,195 +62861,83 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update scale of the specified Deployment",
- "operationId": "patchNamespacedDeploymentScale",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace scale of the specified Deployment",
- "operationId": "replaceNamespacedDeploymentScale",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/apps/v1/namespaces/{namespace}/deployments/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified Deployment",
- "operationId": "readNamespacedDeploymentStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Deployment"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": {
"parameters": [
{
- "description": "name of the Deployment",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Job",
"in": "path",
"name": "name",
"required": true,
@@ -49595,55 +62958,53 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
+ ]
+ },
+ "/apis/certificates.k8s.io/": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified Deployment",
- "operationId": "patchNamespacedDeploymentStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
@@ -49653,13 +63014,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.APIGroup"
}
}
},
@@ -49667,69 +63022,31 @@
"https"
],
"tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
+ "certificates"
+ ]
+ }
+ },
+ "/apis/certificates.k8s.io/v1/": {
+ "get": {
"consumes": [
- "application/json"
- ],
- "description": "replace status of the specified Deployment",
- "operationId": "replaceNamespacedDeploymentStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Deployment"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Deployment"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Deployment"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -49737,24 +63054,17 @@
"https"
],
"tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "Deployment",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ "certificates_v1"
+ ]
}
},
- "/apis/apps/v1/namespaces/{namespace}/replicasets": {
+ "/apis/certificates.k8s.io/v1/certificatesigningrequests": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ReplicaSet",
- "operationId": "deleteCollectionNamespacedReplicaSet",
+ "description": "delete collection of CertificateSigningRequest",
+ "operationId": "deleteCollectionCertificateSigningRequest",
"parameters": [
{
"in": "body",
@@ -49791,6 +63101,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -49851,7 +63168,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -49865,12 +63183,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -49879,8 +63197,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ReplicaSet",
- "operationId": "listNamespacedReplicaSet",
+ "description": "list or watch objects of kind CertificateSigningRequest",
+ "operationId": "listCertificateSigningRequest",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -49957,14 +63275,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSetList"
+ "$ref": "#/definitions/v1.CertificateSigningRequestList"
}
}
},
@@ -49972,24 +63292,16 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -50002,15 +63314,15 @@
"consumes": [
"application/json"
],
- "description": "create a ReplicaSet",
- "operationId": "createNamespacedReplicaSet",
+ "description": "create a CertificateSigningRequest",
+ "operationId": "createCertificateSigningRequest",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
{
@@ -50038,25 +63350,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50064,24 +63377,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}": {
+ "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ReplicaSet",
- "operationId": "deleteNamespacedReplicaSet",
+ "description": "delete a CertificateSigningRequest",
+ "operationId": "deleteCertificateSigningRequest",
"parameters": [
{
"in": "body",
@@ -50104,6 +63417,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -50122,7 +63442,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -50142,12 +63463,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -50156,18 +63477,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ReplicaSet",
- "operationId": "readNamespacedReplicaSet",
+ "description": "read the specified CertificateSigningRequest",
+ "operationId": "readCertificateSigningRequest",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50175,32 +63497,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ReplicaSet",
+ "description": "name of the CertificateSigningRequest",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -50214,10 +63528,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ReplicaSet",
- "operationId": "patchNamespacedReplicaSet",
+ "description": "partially update the specified CertificateSigningRequest",
+ "operationId": "patchCertificateSigningRequest",
"parameters": [
{
"in": "body",
@@ -50259,19 +63574,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50279,12 +63595,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -50293,15 +63609,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ReplicaSet",
- "operationId": "replaceNamespacedReplicaSet",
+ "description": "replace the specified CertificateSigningRequest",
+ "operationId": "replaceCertificateSigningRequest",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
{
@@ -50329,19 +63645,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50349,34 +63666,35 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/scale": {
+ "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval": {
"get": {
"consumes": [
"application/json"
],
- "description": "read scale of the specified ReplicaSet",
- "operationId": "readNamespacedReplicaSetScale",
+ "description": "read approval of the specified CertificateSigningRequest",
+ "operationId": "readCertificateSigningRequestApproval",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Scale"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50384,32 +63702,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Scale",
+ "description": "name of the CertificateSigningRequest",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -50423,10 +63733,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update scale of the specified ReplicaSet",
- "operationId": "patchNamespacedReplicaSetScale",
+ "description": "partially update approval of the specified CertificateSigningRequest",
+ "operationId": "patchCertificateSigningRequestApproval",
"parameters": [
{
"in": "body",
@@ -50468,19 +63779,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Scale"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Scale"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50488,12 +63800,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -50502,15 +63814,15 @@
"consumes": [
"application/json"
],
- "description": "replace scale of the specified ReplicaSet",
- "operationId": "replaceNamespacedReplicaSetScale",
+ "description": "replace approval of the specified CertificateSigningRequest",
+ "operationId": "replaceCertificateSigningRequestApproval",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Scale"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
{
@@ -50538,19 +63850,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Scale"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Scale"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50558,34 +63871,35 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/replicasets/{name}/status": {
+ "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified ReplicaSet",
- "operationId": "readNamespacedReplicaSetStatus",
+ "description": "read status of the specified CertificateSigningRequest",
+ "operationId": "readCertificateSigningRequestStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50593,32 +63907,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ReplicaSet",
+ "description": "name of the CertificateSigningRequest",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -50632,10 +63938,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified ReplicaSet",
- "operationId": "patchNamespacedReplicaSetStatus",
+ "description": "partially update status of the specified CertificateSigningRequest",
+ "operationId": "patchCertificateSigningRequestStatus",
"parameters": [
{
"in": "body",
@@ -50677,19 +63984,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
}
},
@@ -50697,12 +64005,12 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -50711,15 +64019,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified ReplicaSet",
- "operationId": "replaceNamespacedReplicaSetStatus",
+ "description": "replace status of the specified CertificateSigningRequest",
+ "operationId": "replaceCertificateSigningRequestStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
{
@@ -50747,19 +64055,229 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSet"
+ "$ref": "#/definitions/v1.CertificateSigningRequest"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "CertificateSigningRequest",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the CertificateSigningRequest",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/certificates.k8s.io/v1alpha1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -50767,24 +64285,17 @@
"https"
],
"tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ "certificates_v1alpha1"
+ ]
}
},
- "/apis/apps/v1/namespaces/{namespace}/statefulsets": {
+ "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of StatefulSet",
- "operationId": "deleteCollectionNamespacedStatefulSet",
+ "description": "delete collection of ClusterTrustBundle",
+ "operationId": "deleteCollectionClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -50821,6 +64332,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -50881,7 +64399,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -50895,13 +64414,13 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -50909,8 +64428,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind StatefulSet",
- "operationId": "listNamespacedStatefulSet",
+ "description": "list or watch objects of kind ClusterTrustBundle",
+ "operationId": "listClusterTrustBundle",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -50987,14 +64506,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSetList"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundleList"
}
}
},
@@ -51002,24 +64523,16 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1alpha1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -51032,15 +64545,15 @@
"consumes": [
"application/json"
],
- "description": "create a StatefulSet",
- "operationId": "createNamespacedStatefulSet",
+ "description": "create a ClusterTrustBundle",
+ "operationId": "createClusterTrustBundle",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
},
{
@@ -51068,25 +64581,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
}
},
@@ -51094,24 +64608,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}": {
+ "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a StatefulSet",
- "operationId": "deleteNamespacedStatefulSet",
+ "description": "delete a ClusterTrustBundle",
+ "operationId": "deleteClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -51134,6 +64648,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -51152,7 +64673,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -51172,13 +64694,13 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -51186,18 +64708,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified StatefulSet",
- "operationId": "readNamespacedStatefulSet",
+ "description": "read the specified ClusterTrustBundle",
+ "operationId": "readClusterTrustBundle",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
}
},
@@ -51205,32 +64728,24 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1alpha1"
}
},
"parameters": [
{
- "description": "name of the StatefulSet",
+ "description": "name of the ClusterTrustBundle",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -51244,10 +64759,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified StatefulSet",
- "operationId": "patchNamespacedStatefulSet",
+ "description": "partially update the specified ClusterTrustBundle",
+ "operationId": "patchClusterTrustBundle",
"parameters": [
{
"in": "body",
@@ -51289,19 +64805,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
}
},
@@ -51309,13 +64826,13 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -51323,15 +64840,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified StatefulSet",
- "operationId": "replaceNamespacedStatefulSet",
+ "description": "replace the specified ClusterTrustBundle",
+ "operationId": "replaceClusterTrustBundle",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
},
{
@@ -51359,19 +64876,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
}
}
},
@@ -51379,93 +64897,39 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/scale": {
- "get": {
+ "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "read scale of the specified StatefulSet",
- "operationId": "readNamespacedStatefulSetScale",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the Scale",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update scale of the specified StatefulSet",
- "operationId": "patchNamespacedStatefulSetScale",
+ "description": "delete collection of PodCertificateRequest",
+ "operationId": "deleteCollectionNamespacedPodCertificateRequest",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
},
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -51474,113 +64938,94 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "fieldValidation",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "force",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
"type": "boolean",
"uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
},
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace scale of the specified StatefulSet",
- "operationId": "replaceNamespacedStatefulSetScale",
- "parameters": [
{
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Scale"
- }
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"in": "query",
- "name": "dryRun",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "fieldManager",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "fieldValidation",
+ "name": "resourceVersionMatch",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Scale"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Scale"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -51588,118 +65033,90 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "Scale",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/apps/v1/namespaces/{namespace}/statefulsets/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified StatefulSet",
- "operationId": "readNamespacedStatefulSetStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.StatefulSet"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the StatefulSet",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified StatefulSet",
- "operationId": "patchNamespacedStatefulSetStatus",
+ "description": "list or watch objects of kind PodCertificateRequest",
+ "operationId": "listNamespacedPodCertificateRequest",
"parameters": [
{
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "dryRun",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"in": "query",
- "name": "force",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
"type": "boolean",
"uniqueItems": true
}
@@ -51707,19 +65124,17 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestList"
}
}
},
@@ -51727,29 +65142,45 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
+ }
},
- "put": {
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "replace status of the specified StatefulSet",
- "operationId": "replaceNamespacedStatefulSetStatus",
+ "description": "create a PodCertificateRequest",
+ "operationId": "createNamespacedPodCertificateRequest",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
{
@@ -51777,19 +65208,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StatefulSet"
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
}
}
},
@@ -51797,527 +65235,144 @@
"https"
],
"tags": [
- "apps_v1"
+ "certificates_v1alpha1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/apps/v1/replicasets": {
- "get": {
+ "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ReplicaSet",
- "operationId": "listReplicaSetForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
+ "description": "delete a PodCertificateRequest",
+ "operationId": "deleteNamespacedPodCertificateRequest",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
"schema": {
- "$ref": "#/definitions/v1.ReplicaSetList"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "ReplicaSet",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/apps/v1/statefulsets": {
- "get": {
- "consumes": [
- "application/json"
],
- "description": "list or watch objects of kind StatefulSet",
- "operationId": "listStatefulSetForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StatefulSetList"
+ "$ref": "#/definitions/v1.Status"
}
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "apps_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "apps",
- "kind": "StatefulSet",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/apps/v1/watch/controllerrevisions": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/apps/v1/watch/daemonsets": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/apps/v1/watch/deployments": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PodCertificateRequest",
+ "operationId": "readNamespacedPodCertificateRequest",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
}
- ]
- },
- "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the PodCertificateRequest",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -52332,83 +65387,199 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PodCertificateRequest",
+ "operationId": "patchNamespacedPodCertificateRequest",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PodCertificateRequest",
+ "operationId": "replaceNamespacedPodCertificateRequest",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/certificates.k8s.io/v1alpha1/namespaces/{namespace}/podcertificaterequests/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified PodCertificateRequest",
+ "operationId": "readNamespacedPodCertificateRequestStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
}
- ]
- },
- "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ControllerRevision",
+ "description": "name of the PodCertificateRequest",
"in": "path",
"name": "name",
"required": true,
@@ -52429,45 +65600,199 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified PodCertificateRequest",
+ "operationId": "patchNamespacedPodCertificateRequestStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified PodCertificateRequest",
+ "operationId": "replaceNamespacedPodCertificateRequestStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequest"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/certificates.k8s.io/v1alpha1/podcertificaterequests": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PodCertificateRequest",
+ "operationId": "listPodCertificateRequestForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.PodCertificateRequestList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1alpha1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "PodCertificateRequest",
+ "version": "v1alpha1"
}
- ]
- },
- "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": {
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -52504,14 +65829,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -52556,7 +65873,7 @@
}
]
},
- "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": {
+ "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -52593,22 +65910,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the DaemonSet",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -52653,7 +65954,7 @@
}
]
},
- "/apis/apps/v1/watch/namespaces/{namespace}/deployments": {
+ "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -52691,9 +65992,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ClusterTrustBundle",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -52742,7 +66043,7 @@
}
]
},
- "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": {
+ "/apis/certificates.k8s.io/v1alpha1/watch/namespaces/{namespace}/podcertificaterequests": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -52779,14 +66080,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the Deployment",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -52839,7 +66132,7 @@
}
]
},
- "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": {
+ "/apis/certificates.k8s.io/v1alpha1/watch/namespaces/{namespace}/podcertificaterequests/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -52876,6 +66169,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the PodCertificateRequest",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -52928,7 +66229,7 @@
}
]
},
- "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": {
+ "/apis/certificates.k8s.io/v1alpha1/watch/podcertificaterequests": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -52965,22 +66266,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ReplicaSet",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -53025,193 +66310,658 @@
}
]
},
- "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "/apis/certificates.k8s.io/v1beta1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ]
+ }
+ },
+ "/apis/certificates.k8s.io/v1beta1/clustertrustbundles": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ClusterTrustBundle",
+ "operationId": "deleteCollectionClusterTrustBundle",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ClusterTrustBundle",
+ "operationId": "listClusterTrustBundle",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundleList"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
+ }
+ },
+ "parameters": [
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ClusterTrustBundle",
+ "operationId": "createClusterTrustBundle",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/certificates.k8s.io/v1beta1/clustertrustbundles/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ClusterTrustBundle",
+ "operationId": "deleteClusterTrustBundle",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ClusterTrustBundle",
+ "operationId": "readClusterTrustBundle",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
}
- ]
- },
- "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the StatefulSet",
+ "description": "name of the ClusterTrustBundle",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ClusterTrustBundle",
+ "operationId": "patchClusterTrustBundle",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ClusterTrustBundle",
+ "operationId": "replaceClusterTrustBundle",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ClusterTrustBundle"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "certificates_v1beta1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "certificates.k8s.io",
+ "kind": "ClusterTrustBundle",
+ "version": "v1beta1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/apps/v1/watch/replicasets": {
+ "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -53292,7 +67042,7 @@
}
]
},
- "/apis/apps/v1/watch/statefulsets": {
+ "/apis/certificates.k8s.io/v1beta1/watch/clustertrustbundles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -53329,6 +67079,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ClusterTrustBundle",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -53373,7 +67131,7 @@
}
]
},
- "/apis/authentication.k8s.io/": {
+ "/apis/coordination.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -53399,23 +67157,25 @@
"https"
],
"tags": [
- "authentication"
+ "coordination"
]
}
},
- "/apis/authentication.k8s.io/v1/": {
+ "/apis/coordination.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -53429,79 +67189,31 @@
"https"
],
"tags": [
- "authentication_v1"
+ "coordination_v1"
]
}
},
- "/apis/authentication.k8s.io/v1/selfsubjectreviews": {
- "parameters": [
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ "/apis/coordination.k8s.io/v1/leases": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "create a SelfSubjectReview",
- "operationId": "createSelfSubjectReview",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.SelfSubjectReview"
- }
- }
- ],
+ "description": "list or watch objects of kind Lease",
+ "operationId": "listLeaseForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.SelfSubjectReview"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.SelfSubjectReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.SelfSubjectReview"
+ "$ref": "#/definitions/v1.LeaseList"
}
}
},
@@ -53509,155 +67221,49 @@
"https"
],
"tags": [
- "authentication_v1"
+ "coordination_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "authentication.k8s.io",
- "kind": "SelfSubjectReview",
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/authentication.k8s.io/v1/tokenreviews": {
+ }
+ },
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "fieldValidation",
- "type": "string",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
"in": "query",
- "name": "pretty",
+ "name": "continue",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a TokenReview",
- "operationId": "createTokenReview",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.TokenReview"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.TokenReview"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.TokenReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.TokenReview"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "authentication_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "authentication.k8s.io",
- "kind": "TokenReview",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/authentication.k8s.io/v1alpha1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "authentication_v1alpha1"
- ]
- }
- },
- "/apis/authentication.k8s.io/v1alpha1/selfsubjectreviews": {
- "parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "dryRun",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"in": "query",
- "name": "fieldValidation",
- "type": "string",
+ "name": "limit",
+ "type": "integer",
"uniqueItems": true
},
{
@@ -53666,46 +67272,162 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "post": {
+ ]
+ },
+ "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "create a SelfSubjectReview",
- "operationId": "createSelfSubjectReview",
+ "description": "delete collection of Lease",
+ "operationId": "deleteCollectionNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.SelfSubjectReview"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.SelfSubjectReview"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.SelfSubjectReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha1.SelfSubjectReview"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -53713,36 +67435,108 @@
"https"
],
"tags": [
- "authentication_v1alpha1"
+ "coordination_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "authentication.k8s.io",
- "kind": "SelfSubjectReview",
- "version": "v1alpha1"
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/authentication.k8s.io/v1beta1/": {
+ },
"get": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Lease",
+ "operationId": "listNamespacedLease",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1.LeaseList"
}
}
},
@@ -53750,30 +67544,21 @@
"https"
],
"tags": [
- "authentication_v1beta1"
- ]
- }
- },
- "/apis/authentication.k8s.io/v1beta1/selfsubjectreviews": {
+ "coordination_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
+ "version": "v1"
+ }
+ },
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
"type": "string",
"uniqueItems": true
},
@@ -53789,40 +67574,62 @@
"consumes": [
"application/json"
],
- "description": "create a SelfSubjectReview",
- "operationId": "createSelfSubjectReview",
+ "description": "create a Lease",
+ "operationId": "createNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
+ "$ref": "#/definitions/v1.Lease"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
+ "$ref": "#/definitions/v1.Lease"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta1.SelfSubjectReview"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -53830,66 +67637,85 @@
"https"
],
"tags": [
- "authentication_v1beta1"
+ "coordination_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "authentication.k8s.io",
- "kind": "SelfSubjectReview",
- "version": "v1beta1"
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/authorization.k8s.io/": {
- "get": {
+ "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": {
+ "delete": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json"
],
- "responses": {
- "200": {
- "description": "OK",
+ "description": "delete a Lease",
+ "operationId": "deleteNamespacedLease",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "authorization"
- ]
- }
- },
- "/apis/authorization.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -53897,87 +67723,33 @@
"https"
],
"tags": [
- "authorization_v1"
- ]
- }
- },
- "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": {
- "parameters": [
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
+ "coordination_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
+ "version": "v1"
},
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
"consumes": [
"application/json"
],
- "description": "create a LocalSubjectAccessReview",
- "operationId": "createNamespacedLocalSubjectAccessReview",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.LocalSubjectAccessReview"
- }
- }
- ],
+ "description": "read the specified Lease",
+ "operationId": "readNamespacedLease",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LocalSubjectAccessReview"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.LocalSubjectAccessReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.LocalSubjectAccessReview"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -53985,37 +67757,29 @@
"https"
],
"tags": [
- "authorization_v1"
+ "coordination_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "authorization.k8s.io",
- "kind": "LocalSubjectAccessReview",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": {
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
+ "version": "v1"
+ }
+ },
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
+ "description": "name of the Lease",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
"type": "string",
"uniqueItems": true
},
@@ -54027,44 +67791,71 @@
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "create a SelfSubjectAccessReview",
- "operationId": "createSelfSubjectAccessReview",
+ "description": "partially update the specified Lease",
+ "operationId": "patchNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.SelfSubjectAccessReview"
+ "$ref": "#/definitions/v1.Patch"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.SelfSubjectAccessReview"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.SelfSubjectAccessReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.SelfSubjectAccessReview"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -54072,86 +67863,70 @@
"https"
],
"tags": [
- "authorization_v1"
+ "coordination_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "authorization.k8s.io",
- "kind": "SelfSubjectAccessReview",
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": {
- "parameters": [
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "create a SelfSubjectRulesReview",
- "operationId": "createSelfSubjectRulesReview",
+ "description": "replace the specified Lease",
+ "operationId": "replaceNamespacedLease",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.SelfSubjectRulesReview"
+ "$ref": "#/definitions/v1.Lease"
}
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.SelfSubjectRulesReview"
+ "$ref": "#/definitions/v1.Lease"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.SelfSubjectRulesReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.SelfSubjectRulesReview"
+ "$ref": "#/definitions/v1.Lease"
}
}
},
@@ -54159,147 +67934,299 @@
"https"
],
"tags": [
- "authorization_v1"
+ "coordination_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "authorization.k8s.io",
- "kind": "SelfSubjectRulesReview",
+ "group": "coordination.k8s.io",
+ "kind": "Lease",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/authorization.k8s.io/v1/subjectaccessreviews": {
+ "/apis/coordination.k8s.io/v1/watch/leases": {
"parameters": [
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
"in": "query",
- "name": "dryRun",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
"in": "query",
- "name": "fieldManager",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
- "name": "fieldValidation",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a SubjectAccessReview",
- "operationId": "createSubjectAccessReview",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.SubjectAccessReview"
- }
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.SubjectAccessReview"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.SubjectAccessReview"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.SubjectAccessReview"
- }
- }
+ ]
+ },
+ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "authorization_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "authorization.k8s.io",
- "kind": "SubjectAccessReview",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/autoscaling/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
+ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling"
- ]
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Lease",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/autoscaling/v1/": {
+ "/apis/coordination.k8s.io/v1alpha2/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -54313,29 +68240,31 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
]
}
},
- "/apis/autoscaling/v1/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1alpha2/leasecandidates": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind HorizontalPodAutoscaler",
- "operationId": "listHorizontalPodAutoscalerForAllNamespaces",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listLeaseCandidateForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscalerList"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
}
}
},
@@ -54343,13 +68272,13 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
}
},
"parameters": [
@@ -54432,13 +68361,13 @@
}
]
},
- "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of HorizontalPodAutoscaler",
- "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler",
+ "description": "delete collection of LeaseCandidate",
+ "operationId": "deleteCollectionNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -54475,6 +68404,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -54535,7 +68471,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -54549,13 +68486,13 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -54563,8 +68500,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind HorizontalPodAutoscaler",
- "operationId": "listNamespacedHorizontalPodAutoscaler",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listNamespacedLeaseCandidate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -54641,14 +68578,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscalerList"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidateList"
}
}
},
@@ -54656,13 +68595,13 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
}
},
"parameters": [
@@ -54686,15 +68625,15 @@
"consumes": [
"application/json"
],
- "description": "create a HorizontalPodAutoscaler",
- "operationId": "createNamespacedHorizontalPodAutoscaler",
+ "description": "create a LeaseCandidate",
+ "operationId": "createNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
{
@@ -54722,25 +68661,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -54748,24 +68688,24 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
+ "/apis/coordination.k8s.io/v1alpha2/namespaces/{namespace}/leasecandidates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a HorizontalPodAutoscaler",
- "operationId": "deleteNamespacedHorizontalPodAutoscaler",
+ "description": "delete a LeaseCandidate",
+ "operationId": "deleteNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -54788,6 +68728,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -54806,7 +68753,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -54826,241 +68774,33 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified HorizontalPodAutoscaler",
- "operationId": "readNamespacedHorizontalPodAutoscaler",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the HorizontalPodAutoscaler",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified HorizontalPodAutoscaler",
- "operationId": "patchNamespacedHorizontalPodAutoscaler",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified HorizontalPodAutoscaler",
- "operationId": "replaceNamespacedHorizontalPodAutoscaler",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified HorizontalPodAutoscaler",
- "operationId": "readNamespacedHorizontalPodAutoscalerStatus",
+ "description": "read the specified LeaseCandidate",
+ "operationId": "readNamespacedLeaseCandidate",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -55068,18 +68808,18 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
}
},
"parameters": [
{
- "description": "name of the HorizontalPodAutoscaler",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -55107,10 +68847,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified HorizontalPodAutoscaler",
- "operationId": "patchNamespacedHorizontalPodAutoscalerStatus",
+ "description": "partially update the specified LeaseCandidate",
+ "operationId": "patchNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -55152,19 +68893,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -55172,13 +68914,13 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
},
@@ -55186,15 +68928,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified HorizontalPodAutoscaler",
- "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus",
+ "description": "replace the specified LeaseCandidate",
+ "operationId": "replaceNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
{
@@ -55222,19 +68964,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1alpha2.LeaseCandidate"
}
}
},
@@ -55242,18 +68985,18 @@
"https"
],
"tags": [
- "autoscaling_v1"
+ "coordination_v1alpha2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v1"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1alpha2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/autoscaling/v1/watch/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -55334,7 +69077,7 @@
}
]
},
- "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -55423,7 +69166,7 @@
}
]
},
- "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
+ "/apis/coordination.k8s.io/v1alpha2/watch/namespaces/{namespace}/leasecandidates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -55461,7 +69204,7 @@
"uniqueItems": true
},
{
- "description": "name of the HorizontalPodAutoscaler",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -55520,19 +69263,21 @@
}
]
},
- "/apis/autoscaling/v2/": {
+ "/apis/coordination.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -55546,29 +69291,31 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
]
}
},
- "/apis/autoscaling/v2/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1beta1/leasecandidates": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind HorizontalPodAutoscaler",
- "operationId": "listHorizontalPodAutoscalerForAllNamespaces",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listLeaseCandidateForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscalerList"
+ "$ref": "#/definitions/v1beta1.LeaseCandidateList"
}
}
},
@@ -55576,13 +69323,13 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -55665,13 +69412,13 @@
}
]
},
- "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of HorizontalPodAutoscaler",
- "operationId": "deleteCollectionNamespacedHorizontalPodAutoscaler",
+ "description": "delete collection of LeaseCandidate",
+ "operationId": "deleteCollectionNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -55708,6 +69455,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -55768,7 +69522,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -55782,13 +69537,13 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -55796,8 +69551,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind HorizontalPodAutoscaler",
- "operationId": "listNamespacedHorizontalPodAutoscaler",
+ "description": "list or watch objects of kind LeaseCandidate",
+ "operationId": "listNamespacedLeaseCandidate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -55874,14 +69629,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscalerList"
+ "$ref": "#/definitions/v1beta1.LeaseCandidateList"
}
}
},
@@ -55889,13 +69646,13 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -55919,306 +69676,15 @@
"consumes": [
"application/json"
],
- "description": "create a HorizontalPodAutoscaler",
- "operationId": "createNamespacedHorizontalPodAutoscaler",
+ "description": "create a LeaseCandidate",
+ "operationId": "createNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling_v2"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a HorizontalPodAutoscaler",
- "operationId": "deleteNamespacedHorizontalPodAutoscaler",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling_v2"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified HorizontalPodAutoscaler",
- "operationId": "readNamespacedHorizontalPodAutoscaler",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling_v2"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
- }
- },
- "parameters": [
- {
- "description": "name of the HorizontalPodAutoscaler",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified HorizontalPodAutoscaler",
- "operationId": "patchNamespacedHorizontalPodAutoscaler",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "autoscaling_v2"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified HorizontalPodAutoscaler",
- "operationId": "replaceNamespacedHorizontalPodAutoscaler",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
{
@@ -56246,19 +69712,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -56266,34 +69739,119 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status": {
+ "/apis/coordination.k8s.io/v1beta1/namespaces/{namespace}/leasecandidates/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a LeaseCandidate",
+ "operationId": "deleteNamespacedLeaseCandidate",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "coordination_v1beta1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified HorizontalPodAutoscaler",
- "operationId": "readNamespacedHorizontalPodAutoscalerStatus",
+ "description": "read the specified LeaseCandidate",
+ "operationId": "readNamespacedLeaseCandidate",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -56301,18 +69859,18 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the HorizontalPodAutoscaler",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -56340,10 +69898,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified HorizontalPodAutoscaler",
- "operationId": "patchNamespacedHorizontalPodAutoscalerStatus",
+ "description": "partially update the specified LeaseCandidate",
+ "operationId": "patchNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
@@ -56385,19 +69944,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -56405,13 +69965,13 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -56419,15 +69979,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified HorizontalPodAutoscaler",
- "operationId": "replaceNamespacedHorizontalPodAutoscalerStatus",
+ "description": "replace the specified LeaseCandidate",
+ "operationId": "replaceNamespacedLeaseCandidate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
{
@@ -56455,19 +70015,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v2.HorizontalPodAutoscaler"
+ "$ref": "#/definitions/v1beta1.LeaseCandidate"
}
}
},
@@ -56475,18 +70036,18 @@
"https"
],
"tags": [
- "autoscaling_v2"
+ "coordination_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "autoscaling",
- "kind": "HorizontalPodAutoscaler",
- "version": "v2"
+ "group": "coordination.k8s.io",
+ "kind": "LeaseCandidate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/autoscaling/v2/watch/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1beta1/watch/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -56567,7 +70128,7 @@
}
]
},
- "/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers": {
+ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -56656,7 +70217,7 @@
}
]
},
- "/apis/autoscaling/v2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": {
+ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leasecandidates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -56694,7 +70255,7 @@
"uniqueItems": true
},
{
- "description": "name of the HorizontalPodAutoscaler",
+ "description": "name of the LeaseCandidate",
"in": "path",
"name": "name",
"required": true,
@@ -56753,7 +70314,7 @@
}
]
},
- "/apis/batch/": {
+ "/apis/discovery.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -56779,174 +70340,63 @@
"https"
],
"tags": [
- "batch"
- ]
- }
- },
- "/apis/batch/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "batch_v1"
+ "discovery"
]
}
},
- "/apis/batch/v1/cronjobs": {
+ "/apis/discovery.k8s.io/v1/": {
"get": {
"consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind CronJob",
- "operationId": "listCronJobForAllNamespaces",
- "produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CronJobList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "discovery_v1"
+ ]
+ }
},
- "/apis/batch/v1/jobs": {
+ "/apis/discovery.k8s.io/v1/endpointslices": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Job",
- "operationId": "listJobForAllNamespaces",
+ "description": "list or watch objects of kind EndpointSlice",
+ "operationId": "listEndpointSliceForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.JobList"
+ "$ref": "#/definitions/v1.EndpointSliceList"
}
}
},
@@ -56954,12 +70404,12 @@
"https"
],
"tags": [
- "batch_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
@@ -57043,13 +70493,13 @@
}
]
},
- "/apis/batch/v1/namespaces/{namespace}/cronjobs": {
+ "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CronJob",
- "operationId": "deleteCollectionNamespacedCronJob",
+ "description": "delete collection of EndpointSlice",
+ "operationId": "deleteCollectionNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -57086,6 +70536,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -57146,7 +70603,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -57160,12 +70618,12 @@
"https"
],
"tags": [
- "batch_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -57174,8 +70632,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CronJob",
- "operationId": "listNamespacedCronJob",
+ "description": "list or watch objects of kind EndpointSlice",
+ "operationId": "listNamespacedEndpointSlice",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -57252,14 +70710,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CronJobList"
+ "$ref": "#/definitions/v1.EndpointSliceList"
}
}
},
@@ -57267,12 +70727,12 @@
"https"
],
"tags": [
- "batch_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
@@ -57297,15 +70757,15 @@
"consumes": [
"application/json"
],
- "description": "create a CronJob",
- "operationId": "createNamespacedCronJob",
+ "description": "create an EndpointSlice",
+ "operationId": "createNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
{
@@ -57333,25 +70793,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -57359,24 +70820,24 @@
"https"
],
"tags": [
- "batch_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}": {
+ "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CronJob",
- "operationId": "deleteNamespacedCronJob",
+ "description": "delete an EndpointSlice",
+ "operationId": "deleteNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -57399,6 +70860,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -57417,7 +70885,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -57437,12 +70906,12 @@
"https"
],
"tags": [
- "batch_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -57451,18 +70920,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified CronJob",
- "operationId": "readNamespacedCronJob",
+ "description": "read the specified EndpointSlice",
+ "operationId": "readNamespacedEndpointSlice",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.EndpointSlice"
}
}
},
@@ -57470,18 +70940,18 @@
"https"
],
"tags": [
- "batch_v1"
+ "discovery_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CronJob",
+ "description": "name of the EndpointSlice",
"in": "path",
"name": "name",
"required": true,
@@ -57509,10 +70979,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified CronJob",
- "operationId": "patchNamespacedCronJob",
+ "description": "partially update the specified EndpointSlice",
+ "operationId": "patchNamespacedEndpointSlice",
"parameters": [
{
"in": "body",
@@ -57554,19 +71025,395 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.EndpointSlice"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.EndpointSlice"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "discovery_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified EndpointSlice",
+ "operationId": "replaceNamespacedEndpointSlice",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.EndpointSlice"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.EndpointSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.EndpointSlice"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "discovery_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "discovery.k8s.io",
+ "kind": "EndpointSlice",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/discovery.k8s.io/v1/watch/endpointslices": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the EndpointSlice",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/events.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
}
}
},
@@ -57574,69 +71421,31 @@
"https"
],
"tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
+ "events"
+ ]
+ }
+ },
+ "/apis/events.k8s.io/v1/": {
+ "get": {
"consumes": [
- "application/json"
- ],
- "description": "replace the specified CronJob",
- "operationId": "replaceNamespacedCronJob",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.CronJob"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -57644,34 +71453,31 @@
"https"
],
"tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ "events_v1"
+ ]
}
},
- "/apis/batch/v1/namespaces/{namespace}/cronjobs/{name}/status": {
+ "/apis/events.k8s.io/v1/events": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified CronJob",
- "operationId": "readNamespacedCronJobStatus",
+ "description": "list or watch objects of kind Event",
+ "operationId": "listEventForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CronJob"
+ "$ref": "#/definitions/events.v1.EventList"
}
}
},
@@ -57679,198 +71485,102 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CronJob",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified CronJob",
- "operationId": "patchNamespacedCronJobStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CronJob"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.CronJob"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified CronJob",
- "operationId": "replaceNamespacedCronJobStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.CronJob"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CronJob"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.CronJob"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "CronJob",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/batch/v1/namespaces/{namespace}/jobs": {
+ "/apis/events.k8s.io/v1/namespaces/{namespace}/events": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Job",
- "operationId": "deleteCollectionNamespacedJob",
+ "description": "delete collection of Event",
+ "operationId": "deleteCollectionNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -57907,6 +71617,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -57967,7 +71684,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -57981,12 +71699,12 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -57995,8 +71713,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Job",
- "operationId": "listNamespacedJob",
+ "description": "list or watch objects of kind Event",
+ "operationId": "listNamespacedEvent",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -58030,260 +71748,59 @@
"description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
"in": "query",
"name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.JobList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a Job",
- "operationId": "createNamespacedJob",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Job"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Job"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Job"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Job"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/batch/v1/namespaces/{namespace}/jobs/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a Job",
- "operationId": "deleteNamespacedJob",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
+ "type": "integer",
+ "uniqueItems": true
},
{
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "dryRun",
+ "name": "resourceVersion",
"type": "string",
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
"in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
+ "name": "resourceVersionMatch",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
"in": "query",
- "name": "orphanDependents",
+ "name": "sendInitialEvents",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
"in": "query",
- "name": "propagationPolicy",
- "type": "string",
+ "name": "timeoutSeconds",
+ "type": "integer",
"uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
},
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "batch_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
],
- "description": "read the specified Job",
- "operationId": "readNamespacedJob",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.EventList"
}
}
},
@@ -58291,24 +71808,16 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
}
},
"parameters": [
- {
- "description": "name of the Job",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -58325,22 +71834,19 @@
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/json"
],
- "description": "partially update the specified Job",
- "operationId": "patchNamespacedJob",
+ "description": "create an Event",
+ "operationId": "createNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/events.v1.Event"
}
},
{
@@ -58351,7 +71857,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -58363,31 +71869,31 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -58395,29 +71901,30 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
- "put": {
+ }
+ },
+ "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "replace the specified Job",
- "operationId": "replaceNamespacedJob",
+ "description": "delete an Event",
+ "operationId": "deleteNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
},
{
@@ -58428,16 +71935,30 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "fieldManager",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "fieldValidation",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -58445,19 +71966,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/v1.Status"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -58465,34 +71987,33 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/batch/v1/namespaces/{namespace}/jobs/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified Job",
- "operationId": "readNamespacedJobStatus",
+ "description": "read the specified Event",
+ "operationId": "readNamespacedEvent",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -58500,18 +72021,18 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Job",
+ "description": "name of the Event",
"in": "path",
"name": "name",
"required": true,
@@ -58539,10 +72060,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified Job",
- "operationId": "patchNamespacedJobStatus",
+ "description": "partially update the specified Event",
+ "operationId": "patchNamespacedEvent",
"parameters": [
{
"in": "body",
@@ -58584,19 +72106,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -58604,12 +72127,12 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -58618,15 +72141,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified Job",
- "operationId": "replaceNamespacedJobStatus",
+ "description": "replace the specified Event",
+ "operationId": "replaceNamespacedEvent",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
}
},
{
@@ -58654,19 +72177,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Job"
+ "$ref": "#/definitions/events.v1.Event"
}
}
},
@@ -58674,269 +72198,18 @@
"https"
],
"tags": [
- "batch_v1"
+ "events_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "batch",
- "kind": "Job",
+ "group": "events.k8s.io",
+ "kind": "Event",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/batch/v1/watch/cronjobs": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/batch/v1/watch/jobs": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/batch/v1/watch/namespaces/{namespace}/cronjobs/{name}": {
+ "/apis/events.k8s.io/v1/watch/events": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -58973,22 +72246,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the CronJob",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -59033,7 +72290,7 @@
}
]
},
- "/apis/batch/v1/watch/namespaces/{namespace}/jobs": {
+ "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -59122,7 +72379,7 @@
}
]
},
- "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": {
+ "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -59160,7 +72417,7 @@
"uniqueItems": true
},
{
- "description": "name of the Job",
+ "description": "name of the Event",
"in": "path",
"name": "name",
"required": true,
@@ -59219,7 +72476,7 @@
}
]
},
- "/apis/certificates.k8s.io/": {
+ "/apis/flowcontrol.apiserver.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -59245,23 +72502,25 @@
"https"
],
"tags": [
- "certificates"
+ "flowcontrolApiserver"
]
}
},
- "/apis/certificates.k8s.io/v1/": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -59275,17 +72534,17 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
]
}
},
- "/apis/certificates.k8s.io/v1/certificatesigningrequests": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CertificateSigningRequest",
- "operationId": "deleteCollectionCertificateSigningRequest",
+ "description": "delete collection of FlowSchema",
+ "operationId": "deleteCollectionFlowSchema",
"parameters": [
{
"in": "body",
@@ -59322,6 +72581,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -59382,7 +72648,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -59396,12 +72663,12 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -59410,8 +72677,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CertificateSigningRequest",
- "operationId": "listCertificateSigningRequest",
+ "description": "list or watch objects of kind FlowSchema",
+ "operationId": "listFlowSchema",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -59488,14 +72755,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequestList"
+ "$ref": "#/definitions/v1.FlowSchemaList"
}
}
},
@@ -59503,12 +72772,12 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
}
},
@@ -59525,15 +72794,15 @@
"consumes": [
"application/json"
],
- "description": "create a CertificateSigningRequest",
- "operationId": "createCertificateSigningRequest",
+ "description": "create a FlowSchema",
+ "operationId": "createFlowSchema",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
{
@@ -59561,25 +72830,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -59587,24 +72857,24 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CertificateSigningRequest",
- "operationId": "deleteCertificateSigningRequest",
+ "description": "delete a FlowSchema",
+ "operationId": "deleteFlowSchema",
"parameters": [
{
"in": "body",
@@ -59627,6 +72897,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -59645,7 +72922,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -59665,233 +72943,33 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified CertificateSigningRequest",
- "operationId": "readCertificateSigningRequest",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "certificates_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the CertificateSigningRequest",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified CertificateSigningRequest",
- "operationId": "patchCertificateSigningRequest",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "certificates_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified CertificateSigningRequest",
- "operationId": "replaceCertificateSigningRequest",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "certificates_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/approval": {
"get": {
"consumes": [
"application/json"
],
- "description": "read approval of the specified CertificateSigningRequest",
- "operationId": "readCertificateSigningRequestApproval",
+ "description": "read the specified FlowSchema",
+ "operationId": "readFlowSchema",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -59899,18 +72977,18 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CertificateSigningRequest",
+ "description": "name of the FlowSchema",
"in": "path",
"name": "name",
"required": true,
@@ -59930,10 +73008,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update approval of the specified CertificateSigningRequest",
- "operationId": "patchCertificateSigningRequestApproval",
+ "description": "partially update the specified FlowSchema",
+ "operationId": "patchFlowSchema",
"parameters": [
{
"in": "body",
@@ -59975,19 +73054,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -59995,12 +73075,12 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -60009,15 +73089,15 @@
"consumes": [
"application/json"
],
- "description": "replace approval of the specified CertificateSigningRequest",
- "operationId": "replaceCertificateSigningRequestApproval",
+ "description": "replace the specified FlowSchema",
+ "operationId": "replaceFlowSchema",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
{
@@ -60045,19 +73125,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -60065,34 +73146,35 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1/certificatesigningrequests/{name}/status": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified CertificateSigningRequest",
- "operationId": "readCertificateSigningRequestStatus",
+ "description": "read status of the specified FlowSchema",
+ "operationId": "readFlowSchemaStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -60100,18 +73182,18 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CertificateSigningRequest",
+ "description": "name of the FlowSchema",
"in": "path",
"name": "name",
"required": true,
@@ -60131,10 +73213,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified CertificateSigningRequest",
- "operationId": "patchCertificateSigningRequestStatus",
+ "description": "partially update status of the specified FlowSchema",
+ "operationId": "patchFlowSchemaStatus",
"parameters": [
{
"in": "body",
@@ -60176,19 +73259,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -60196,12 +73280,12 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -60210,15 +73294,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified CertificateSigningRequest",
- "operationId": "replaceCertificateSigningRequestStatus",
+ "description": "replace status of the specified FlowSchema",
+ "operationId": "replaceFlowSchemaStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
{
@@ -60246,19 +73330,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CertificateSigningRequest"
+ "$ref": "#/definitions/v1.FlowSchema"
}
}
},
@@ -60266,224 +73351,24 @@
"https"
],
"tags": [
- "certificates_v1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "CertificateSigningRequest",
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "FlowSchema",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the CertificateSigningRequest",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/certificates.k8s.io/v1alpha1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "certificates_v1alpha1"
- ]
- }
- },
- "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ClusterTrustBundle",
- "operationId": "deleteCollectionClusterTrustBundle",
+ "description": "delete collection of PriorityLevelConfiguration",
+ "operationId": "deleteCollectionPriorityLevelConfiguration",
"parameters": [
{
"in": "body",
@@ -60520,6 +73405,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -60580,7 +73472,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -60594,13 +73487,13 @@
"https"
],
"tags": [
- "certificates_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -60608,8 +73501,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ClusterTrustBundle",
- "operationId": "listClusterTrustBundle",
+ "description": "list or watch objects of kind PriorityLevelConfiguration",
+ "operationId": "listPriorityLevelConfiguration",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -60686,14 +73579,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundleList"
+ "$ref": "#/definitions/v1.PriorityLevelConfigurationList"
}
}
},
@@ -60701,13 +73596,13 @@
"https"
],
"tags": [
- "certificates_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
}
},
"parameters": [
@@ -60723,15 +73618,15 @@
"consumes": [
"application/json"
],
- "description": "create a ClusterTrustBundle",
- "operationId": "createClusterTrustBundle",
+ "description": "create a PriorityLevelConfiguration",
+ "operationId": "createPriorityLevelConfiguration",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
{
@@ -60759,25 +73654,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -60785,24 +73681,24 @@
"https"
],
"tags": [
- "certificates_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1alpha1/clustertrustbundles/{name}": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ClusterTrustBundle",
- "operationId": "deleteClusterTrustBundle",
+ "description": "delete a PriorityLevelConfiguration",
+ "operationId": "deletePriorityLevelConfiguration",
"parameters": [
{
"in": "body",
@@ -60825,6 +73721,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -60843,7 +73746,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -60855,7 +73759,210 @@
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PriorityLevelConfiguration",
+ "operationId": "readPriorityLevelConfiguration",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the PriorityLevelConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PriorityLevelConfiguration",
+ "operationId": "patchPriorityLevelConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "flowcontrolApiserver_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PriorityLevelConfiguration",
+ "operationId": "replacePriorityLevelConfiguration",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -60863,32 +73970,35 @@
"https"
],
"tags": [
- "certificates_v1alpha1"
+ "flowcontrolApiserver_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified ClusterTrustBundle",
- "operationId": "readClusterTrustBundle",
+ "description": "read status of the specified PriorityLevelConfiguration",
+ "operationId": "readPriorityLevelConfigurationStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -60896,18 +74006,18 @@
"https"
],
"tags": [
- "certificates_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the ClusterTrustBundle",
+ "description": "name of the PriorityLevelConfiguration",
"in": "path",
"name": "name",
"required": true,
@@ -60927,10 +74037,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ClusterTrustBundle",
- "operationId": "patchClusterTrustBundle",
+ "description": "partially update status of the specified PriorityLevelConfiguration",
+ "operationId": "patchPriorityLevelConfigurationStatus",
"parameters": [
{
"in": "body",
@@ -60972,19 +74083,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -60992,13 +74104,13 @@
"https"
],
"tags": [
- "certificates_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -61006,15 +74118,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ClusterTrustBundle",
- "operationId": "replaceClusterTrustBundle",
+ "description": "replace status of the specified PriorityLevelConfiguration",
+ "operationId": "replacePriorityLevelConfigurationStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
{
@@ -61042,19 +74154,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ClusterTrustBundle"
+ "$ref": "#/definitions/v1.PriorityLevelConfiguration"
}
}
},
@@ -61062,18 +74175,18 @@
"https"
],
"tags": [
- "certificates_v1alpha1"
+ "flowcontrolApiserver_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "certificates.k8s.io",
- "kind": "ClusterTrustBundle",
- "version": "v1alpha1"
+ "group": "flowcontrol.apiserver.k8s.io",
+ "kind": "PriorityLevelConfiguration",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -61154,7 +74267,7 @@
}
]
},
- "/apis/certificates.k8s.io/v1alpha1/watch/clustertrustbundles/{name}": {
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -61192,7 +74305,7 @@
"uniqueItems": true
},
{
- "description": "name of the ClusterTrustBundle",
+ "description": "name of the FlowSchema",
"in": "path",
"name": "name",
"required": true,
@@ -61243,101 +74356,88 @@
}
]
},
- "/apis/coordination.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination"
- ]
- }
- },
- "/apis/coordination.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination_v1"
- ]
- }
- },
- "/apis/coordination.k8s.io/v1/leases": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Lease",
- "operationId": "listLeaseForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.LeaseList"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "coordination_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -61374,6 +74474,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the PriorityLevelConfiguration",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -61418,13 +74526,75 @@
}
]
},
- "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases": {
+ "/apis/internal.apiserver.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver"
+ ]
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ]
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Lease",
- "operationId": "deleteCollectionNamespacedLease",
+ "description": "delete collection of StorageVersion",
+ "operationId": "deleteCollectionStorageVersion",
"parameters": [
{
"in": "body",
@@ -61461,6 +74631,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -61521,7 +74698,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -61535,13 +74713,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -61549,8 +74727,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Lease",
- "operationId": "listNamespacedLease",
+ "description": "list or watch objects of kind StorageVersion",
+ "operationId": "listStorageVersion",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -61574,67 +74752,274 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersionList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a StorageVersion",
+ "operationId": "createStorageVersion",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a StorageVersion",
+ "operationId": "deleteStorageVersion",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "labelSelector",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "limit",
+ "name": "gracePeriodSeconds",
"type": "integer",
"uniqueItems": true
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
- "name": "sendInitialEvents",
+ "name": "orphanDependents",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
"in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
+ "name": "propagationPolicy",
+ "type": "string",
"uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "internalApiserver_v1alpha1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
],
+ "description": "read the specified StorageVersion",
+ "operationId": "readStorageVersion",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.LeaseList"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -61642,20 +75027,20 @@
"https"
],
"tags": [
- "coordination_v1"
+ "internalApiserver_v1alpha1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
}
},
"parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the StorageVersion",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -61668,19 +75053,23 @@
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "create a Lease",
- "operationId": "createNamespacedLease",
+ "description": "partially update the specified StorageVersion",
+ "operationId": "patchStorageVersion",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1.Patch"
}
},
{
@@ -61691,7 +75080,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -61703,30 +75092,32 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -61734,30 +75125,29 @@
"https"
],
"tags": [
- "coordination_v1"
+ "internalApiserver_v1alpha1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/coordination.k8s.io/v1/namespaces/{namespace}/leases/{name}": {
- "delete": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete a Lease",
- "operationId": "deleteNamespacedLease",
+ "description": "replace the specified StorageVersion",
+ "operationId": "replaceStorageVersion",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
{
@@ -61768,23 +75158,16 @@
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "propagationPolicy",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
}
@@ -61792,19 +75175,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -61812,32 +75196,35 @@
"https"
],
"tags": [
- "coordination_v1"
+ "internalApiserver_v1alpha1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified Lease",
- "operationId": "readNamespacedLease",
+ "description": "read status of the specified StorageVersion",
+ "operationId": "readStorageVersionStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -61845,32 +75232,24 @@
"https"
],
"tags": [
- "coordination_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
}
},
"parameters": [
{
- "description": "name of the Lease",
+ "description": "name of the StorageVersion",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -61884,10 +75263,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified Lease",
- "operationId": "patchNamespacedLease",
+ "description": "partially update status of the specified StorageVersion",
+ "operationId": "patchStorageVersionStatus",
"parameters": [
{
"in": "body",
@@ -61929,19 +75309,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -61949,13 +75330,13 @@
"https"
],
"tags": [
- "coordination_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
},
@@ -61963,15 +75344,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Lease",
- "operationId": "replaceNamespacedLease",
+ "description": "replace status of the specified StorageVersion",
+ "operationId": "replaceStorageVersionStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
{
@@ -61999,19 +75380,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Lease"
+ "$ref": "#/definitions/v1alpha1.StorageVersion"
}
}
},
@@ -62019,99 +75401,18 @@
"https"
],
"tags": [
- "coordination_v1"
+ "internalApiserver_v1alpha1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "coordination.k8s.io",
- "kind": "Lease",
- "version": "v1"
+ "group": "internal.apiserver.k8s.io",
+ "kind": "StorageVersion",
+ "version": "v1alpha1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/coordination.k8s.io/v1/watch/leases": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": {
+ "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -62148,14 +75449,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -62200,7 +75493,7 @@
}
]
},
- "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": {
+ "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -62238,21 +75531,13 @@
"uniqueItems": true
},
{
- "description": "name of the Lease",
+ "description": "name of the StorageVersion",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -62297,7 +75582,7 @@
}
]
},
- "/apis/discovery.k8s.io/": {
+ "/apis/networking.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -62315,170 +75600,57 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "discovery"
- ]
- }
- },
- "/apis/discovery.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "discovery_v1"
- ]
- }
- },
- "/apis/discovery.k8s.io/v1/endpointslices": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind EndpointSlice",
- "operationId": "listEndpointSliceForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.EndpointSliceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "discovery_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking"
+ ]
+ }
},
- "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices": {
+ "/apis/networking.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ]
+ }
+ },
+ "/apis/networking.k8s.io/v1/ingressclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of EndpointSlice",
- "operationId": "deleteCollectionNamespacedEndpointSlice",
+ "description": "delete collection of IngressClass",
+ "operationId": "deleteCollectionIngressClass",
"parameters": [
{
"in": "body",
@@ -62515,6 +75687,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -62575,7 +75754,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -62589,12 +75769,12 @@
"https"
],
"tags": [
- "discovery_v1"
+ "networking_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -62603,8 +75783,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind EndpointSlice",
- "operationId": "listNamespacedEndpointSlice",
+ "description": "list or watch objects of kind IngressClass",
+ "operationId": "listIngressClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -62681,14 +75861,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSliceList"
+ "$ref": "#/definitions/v1.IngressClassList"
}
}
},
@@ -62696,24 +75878,16 @@
"https"
],
"tags": [
- "discovery_v1"
+ "networking_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -62726,15 +75900,15 @@
"consumes": [
"application/json"
],
- "description": "create an EndpointSlice",
- "operationId": "createNamespacedEndpointSlice",
+ "description": "create an IngressClass",
+ "operationId": "createIngressClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
{
@@ -62762,25 +75936,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -62788,24 +75963,24 @@
"https"
],
"tags": [
- "discovery_v1"
+ "networking_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/discovery.k8s.io/v1/namespaces/{namespace}/endpointslices/{name}": {
+ "/apis/networking.k8s.io/v1/ingressclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an EndpointSlice",
- "operationId": "deleteNamespacedEndpointSlice",
+ "description": "delete an IngressClass",
+ "operationId": "deleteIngressClass",
"parameters": [
{
"in": "body",
@@ -62828,6 +76003,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -62846,7 +76028,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -62866,12 +76049,12 @@
"https"
],
"tags": [
- "discovery_v1"
+ "networking_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -62880,18 +76063,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified EndpointSlice",
- "operationId": "readNamespacedEndpointSlice",
+ "description": "read the specified IngressClass",
+ "operationId": "readIngressClass",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -62899,32 +76083,24 @@
"https"
],
"tags": [
- "discovery_v1"
+ "networking_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the EndpointSlice",
+ "description": "name of the IngressClass",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -62938,10 +76114,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified EndpointSlice",
- "operationId": "patchNamespacedEndpointSlice",
+ "description": "partially update the specified IngressClass",
+ "operationId": "patchIngressClass",
"parameters": [
{
"in": "body",
@@ -62983,19 +76160,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -63003,12 +76181,12 @@
"https"
],
"tags": [
- "discovery_v1"
+ "networking_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -63017,15 +76195,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified EndpointSlice",
- "operationId": "replaceNamespacedEndpointSlice",
+ "description": "replace the specified IngressClass",
+ "operationId": "replaceIngressClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
+ "$ref": "#/definitions/v1.IngressClass"
}
},
{
@@ -63048,358 +76226,25 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.EndpointSlice"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "discovery_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "discovery.k8s.io",
- "kind": "EndpointSlice",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/discovery.k8s.io/v1/watch/endpointslices": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/discovery.k8s.io/v1/watch/namespaces/{namespace}/endpointslices/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the EndpointSlice",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/events.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "events"
- ]
- }
- },
- "/apis/events.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ }
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1.IngressClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.IngressClass"
}
}
},
@@ -63407,29 +76252,38 @@
"https"
],
"tags": [
- "events_v1"
- ]
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "IngressClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/apis/events.k8s.io/v1/events": {
+ "/apis/networking.k8s.io/v1/ingresses": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listEventForAllNamespaces",
+ "description": "list or watch objects of kind Ingress",
+ "operationId": "listIngressForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.EventList"
+ "$ref": "#/definitions/v1.IngressList"
}
}
},
@@ -63437,12 +76291,12 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
}
},
@@ -63526,13 +76380,13 @@
}
]
},
- "/apis/events.k8s.io/v1/namespaces/{namespace}/events": {
+ "/apis/networking.k8s.io/v1/ipaddresses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Event",
- "operationId": "deleteCollectionNamespacedEvent",
+ "description": "delete collection of IPAddress",
+ "operationId": "deleteCollectionIPAddress",
"parameters": [
{
"in": "body",
@@ -63569,6 +76423,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -63629,7 +76490,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -63643,12 +76505,12 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -63657,8 +76519,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Event",
- "operationId": "listNamespacedEvent",
+ "description": "list or watch objects of kind IPAddress",
+ "operationId": "listIPAddress",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -63735,14 +76597,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.EventList"
+ "$ref": "#/definitions/v1.IPAddressList"
}
}
},
@@ -63750,24 +76614,16 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -63780,15 +76636,15 @@
"consumes": [
"application/json"
],
- "description": "create an Event",
- "operationId": "createNamespacedEvent",
+ "description": "create an IPAddress",
+ "operationId": "createIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
{
@@ -63816,25 +76672,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -63842,24 +76699,24 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/events.k8s.io/v1/namespaces/{namespace}/events/{name}": {
+ "/apis/networking.k8s.io/v1/ipaddresses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Event",
- "operationId": "deleteNamespacedEvent",
+ "description": "delete an IPAddress",
+ "operationId": "deleteIPAddress",
"parameters": [
{
"in": "body",
@@ -63882,6 +76739,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -63900,7 +76764,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -63920,12 +76785,12 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -63934,18 +76799,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified Event",
- "operationId": "readNamespacedEvent",
+ "description": "read the specified IPAddress",
+ "operationId": "readIPAddress",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -63953,32 +76819,24 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Event",
+ "description": "name of the IPAddress",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -63992,10 +76850,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified Event",
- "operationId": "patchNamespacedEvent",
+ "description": "partially update the specified IPAddress",
+ "operationId": "patchIPAddress",
"parameters": [
{
"in": "body",
@@ -64037,19 +76896,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -64057,12 +76917,12 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -64071,15 +76931,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Event",
- "operationId": "replaceNamespacedEvent",
+ "description": "replace the specified IPAddress",
+ "operationId": "replaceIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
{
@@ -64107,19 +76967,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/events.v1.Event"
+ "$ref": "#/definitions/v1.IPAddress"
}
}
},
@@ -64127,351 +76988,24 @@
"https"
],
"tags": [
- "events_v1"
+ "networking_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "events.k8s.io",
- "kind": "Event",
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/events.k8s.io/v1/watch/events": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/events.k8s.io/v1/watch/namespaces/{namespace}/events/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the Event",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/flowcontrol.apiserver.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver"
- ]
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ]
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of FlowSchema",
- "operationId": "deleteCollectionFlowSchema",
+ "description": "delete collection of Ingress",
+ "operationId": "deleteCollectionNamespacedIngress",
"parameters": [
{
"in": "body",
@@ -64508,6 +77042,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -64568,7 +77109,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -64582,12 +77124,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -64596,8 +77138,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind FlowSchema",
- "operationId": "listFlowSchema",
+ "description": "list or watch objects of kind Ingress",
+ "operationId": "listNamespacedIngress",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -64674,14 +77216,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchemaList"
+ "$ref": "#/definitions/v1.IngressList"
}
}
},
@@ -64689,16 +77233,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -64711,15 +77263,15 @@
"consumes": [
"application/json"
],
- "description": "create a FlowSchema",
- "operationId": "createFlowSchema",
+ "description": "create an Ingress",
+ "operationId": "createNamespacedIngress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
{
@@ -64747,25 +77299,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -64773,24 +77326,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a FlowSchema",
- "operationId": "deleteFlowSchema",
+ "description": "delete an Ingress",
+ "operationId": "deleteNamespacedIngress",
"parameters": [
{
"in": "body",
@@ -64813,6 +77366,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -64831,7 +77391,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -64851,12 +77412,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -64865,18 +77426,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified FlowSchema",
- "operationId": "readFlowSchema",
+ "description": "read the specified Ingress",
+ "operationId": "readNamespacedIngress",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -64884,24 +77446,32 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "name of the Ingress",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -64915,10 +77485,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified FlowSchema",
- "operationId": "patchFlowSchema",
+ "description": "partially update the specified Ingress",
+ "operationId": "patchNamespacedIngress",
"parameters": [
{
"in": "body",
@@ -64960,19 +77531,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -64980,12 +77552,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -64994,15 +77566,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified FlowSchema",
- "operationId": "replaceFlowSchema",
+ "description": "replace the specified Ingress",
+ "operationId": "replaceNamespacedIngress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
{
@@ -65030,19 +77602,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -65050,34 +77623,35 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/flowschemas/{name}/status": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified FlowSchema",
- "operationId": "readFlowSchemaStatus",
+ "description": "read status of the specified Ingress",
+ "operationId": "readNamespacedIngressStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -65085,24 +77659,32 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "name of the Ingress",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -65116,10 +77698,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified FlowSchema",
- "operationId": "patchFlowSchemaStatus",
+ "description": "partially update status of the specified Ingress",
+ "operationId": "patchNamespacedIngressStatus",
"parameters": [
{
"in": "body",
@@ -65161,19 +77744,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -65181,12 +77765,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -65195,15 +77779,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified FlowSchema",
- "operationId": "replaceFlowSchemaStatus",
+ "description": "replace status of the specified Ingress",
+ "operationId": "replaceNamespacedIngressStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
{
@@ -65231,19 +77815,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.FlowSchema"
+ "$ref": "#/definitions/v1.Ingress"
}
}
},
@@ -65251,24 +77836,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
+ "group": "networking.k8s.io",
+ "kind": "Ingress",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations": {
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PriorityLevelConfiguration",
- "operationId": "deleteCollectionPriorityLevelConfiguration",
+ "description": "delete collection of NetworkPolicy",
+ "operationId": "deleteCollectionNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
@@ -65305,6 +77890,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -65365,7 +77957,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -65379,12 +77972,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -65393,8 +77986,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PriorityLevelConfiguration",
- "operationId": "listPriorityLevelConfiguration",
+ "description": "list or watch objects of kind NetworkPolicy",
+ "operationId": "listNamespacedNetworkPolicy",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -65453,227 +78046,34 @@
"uniqueItems": true
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfigurationList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a PriorityLevelConfiguration",
- "operationId": "createPriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a PriorityLevelConfiguration",
- "operationId": "deletePriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "read the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfiguration",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicyList"
}
}
},
@@ -65681,20 +78081,20 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -65707,22 +78107,19 @@
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/json"
],
- "description": "partially update the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfiguration",
+ "description": "create a NetworkPolicy",
+ "operationId": "createNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
{
@@ -65733,7 +78130,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -65745,31 +78142,31 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -65777,29 +78174,30 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
- "put": {
+ }
+ },
+ "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "replace the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfiguration",
+ "description": "delete a NetworkPolicy",
+ "operationId": "deleteNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
},
{
@@ -65810,16 +78208,30 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "fieldManager",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "fieldValidation",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -65827,19 +78239,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.Status"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -65847,34 +78260,33 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/prioritylevelconfigurations/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfigurationStatus",
+ "description": "read the specified NetworkPolicy",
+ "operationId": "readNamespacedNetworkPolicy",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -65882,24 +78294,32 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "name of the NetworkPolicy",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -65913,10 +78333,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfigurationStatus",
+ "description": "partially update the specified NetworkPolicy",
+ "operationId": "patchNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
@@ -65958,19 +78379,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -65978,12 +78400,12 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -65992,15 +78414,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfigurationStatus",
+ "description": "replace the specified NetworkPolicy",
+ "operationId": "replaceNamespacedNetworkPolicy",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
{
@@ -66028,19 +78450,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityLevelConfiguration"
+ "$ref": "#/definitions/v1.NetworkPolicy"
}
}
},
@@ -66048,269 +78471,54 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1"
+ "networking_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/flowschemas/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the FlowSchema",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "/apis/networking.k8s.io/v1/networkpolicies": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind NetworkPolicy",
+ "operationId": "listNetworkPolicyForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.NetworkPolicyList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "NetworkPolicy",
+ "version": "v1"
}
- ]
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1/watch/prioritylevelconfigurations/{name}": {
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66347,14 +78555,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the PriorityLevelConfiguration",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -66399,43 +78599,13 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ]
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas": {
+ "/apis/networking.k8s.io/v1/servicecidrs": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of FlowSchema",
- "operationId": "deleteCollectionFlowSchema",
+ "description": "delete collection of ServiceCIDR",
+ "operationId": "deleteCollectionServiceCIDR",
"parameters": [
{
"in": "body",
@@ -66472,6 +78642,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -66532,7 +78709,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -66546,13 +78724,13 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -66560,8 +78738,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind FlowSchema",
- "operationId": "listFlowSchema",
+ "description": "list or watch objects of kind ServiceCIDR",
+ "operationId": "listServiceCIDR",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -66638,14 +78816,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchemaList"
+ "$ref": "#/definitions/v1.ServiceCIDRList"
}
}
},
@@ -66653,13 +78833,13 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
}
},
"parameters": [
@@ -66675,15 +78855,15 @@
"consumes": [
"application/json"
],
- "description": "create a FlowSchema",
- "operationId": "createFlowSchema",
+ "description": "create a ServiceCIDR",
+ "operationId": "createServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
{
@@ -66711,25 +78891,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
}
},
@@ -66737,24 +78918,24 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}": {
+ "/apis/networking.k8s.io/v1/servicecidrs/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a FlowSchema",
- "operationId": "deleteFlowSchema",
+ "description": "delete a ServiceCIDR",
+ "operationId": "deleteServiceCIDR",
"parameters": [
{
"in": "body",
@@ -66777,6 +78958,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -66795,7 +78983,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -66815,13 +79004,13 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -66829,18 +79018,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified FlowSchema",
- "operationId": "readFlowSchema",
+ "description": "read the specified ServiceCIDR",
+ "operationId": "readServiceCIDR",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
}
},
@@ -66848,18 +79038,18 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "name of the ServiceCIDR",
"in": "path",
"name": "name",
"required": true,
@@ -66879,10 +79069,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified FlowSchema",
- "operationId": "patchFlowSchema",
+ "description": "partially update the specified ServiceCIDR",
+ "operationId": "patchServiceCIDR",
"parameters": [
{
"in": "body",
@@ -66924,19 +79115,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
}
},
@@ -66944,13 +79136,13 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -66958,15 +79150,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified FlowSchema",
- "operationId": "replaceFlowSchema",
+ "description": "replace the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
{
@@ -66994,19 +79186,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
}
},
@@ -67014,34 +79207,35 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/flowschemas/{name}/status": {
+ "/apis/networking.k8s.io/v1/servicecidrs/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified FlowSchema",
- "operationId": "readFlowSchemaStatus",
+ "description": "read status of the specified ServiceCIDR",
+ "operationId": "readServiceCIDRStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
}
},
@@ -67049,18 +79243,18 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the FlowSchema",
+ "description": "name of the ServiceCIDR",
"in": "path",
"name": "name",
"required": true,
@@ -67080,10 +79274,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified FlowSchema",
- "operationId": "patchFlowSchemaStatus",
+ "description": "partially update status of the specified ServiceCIDR",
+ "operationId": "patchServiceCIDRStatus",
"parameters": [
{
"in": "body",
@@ -67125,19 +79320,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
}
},
@@ -67145,13 +79341,13 @@
"https"
],
"tags": [
- "flowcontrolApiserver_v1beta3"
+ "networking_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -67159,15 +79355,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified FlowSchema",
- "operationId": "replaceFlowSchemaStatus",
+ "description": "replace status of the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDRStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
{
@@ -67195,671 +79391,686 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1beta3.FlowSchema"
+ "$ref": "#/definitions/v1.ServiceCIDR"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "FlowSchema",
- "version": "v1beta3"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1/watch/ingressclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the IngressClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ingresses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ipaddresses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/ipaddresses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the IPAddress",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of PriorityLevelConfiguration",
- "operationId": "deleteCollectionPriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind PriorityLevelConfiguration",
- "operationId": "listPriorityLevelConfiguration",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfigurationList"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": {
"parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a PriorityLevelConfiguration",
- "operationId": "createPriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a PriorityLevelConfiguration",
- "operationId": "deletePriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfiguration",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": {
"parameters": [
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the Ingress",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfiguration",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/prioritylevelconfigurations/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified PriorityLevelConfiguration",
- "operationId": "readPriorityLevelConfigurationStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": {
"parameters": [
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
"in": "path",
- "name": "name",
+ "name": "namespace",
"required": true,
"type": "string",
"uniqueItems": true
@@ -67870,160 +80081,45 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified PriorityLevelConfiguration",
- "operationId": "patchPriorityLevelConfigurationStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified PriorityLevelConfiguration",
- "operationId": "replacePriorityLevelConfigurationStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1beta3.PriorityLevelConfiguration"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "flowcontrolApiserver_v1beta3"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "flowcontrol.apiserver.k8s.io",
- "kind": "PriorityLevelConfiguration",
- "version": "v1beta3"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas": {
+ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68060,6 +80156,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the NetworkPolicy",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -68104,7 +80216,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/flowschemas/{name}": {
+ "/apis/networking.k8s.io/v1/watch/networkpolicies": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68141,14 +80253,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the FlowSchema",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -68193,7 +80297,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations": {
+ "/apis/networking.k8s.io/v1/watch/servicecidrs": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68274,7 +80378,7 @@
}
]
},
- "/apis/flowcontrol.apiserver.k8s.io/v1beta3/watch/prioritylevelconfigurations/{name}": {
+ "/apis/networking.k8s.io/v1/watch/servicecidrs/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68312,7 +80416,7 @@
"uniqueItems": true
},
{
- "description": "name of the PriorityLevelConfiguration",
+ "description": "name of the ServiceCIDR",
"in": "path",
"name": "name",
"required": true,
@@ -68363,49 +80467,21 @@
}
]
},
- "/apis/internal.apiserver.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver"
- ]
- }
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/": {
+ "/apis/networking.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -68419,17 +80495,17 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
]
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions": {
+ "/apis/networking.k8s.io/v1beta1/ipaddresses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of StorageVersion",
- "operationId": "deleteCollectionStorageVersion",
+ "description": "delete collection of IPAddress",
+ "operationId": "deleteCollectionIPAddress",
"parameters": [
{
"in": "body",
@@ -68466,6 +80542,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -68526,7 +80609,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -68540,13 +80624,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -68554,8 +80638,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind StorageVersion",
- "operationId": "listStorageVersion",
+ "description": "list or watch objects of kind IPAddress",
+ "operationId": "listIPAddress",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -68632,14 +80716,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersionList"
+ "$ref": "#/definitions/v1beta1.IPAddressList"
}
}
},
@@ -68647,13 +80733,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -68669,15 +80755,15 @@
"consumes": [
"application/json"
],
- "description": "create a StorageVersion",
- "operationId": "createStorageVersion",
+ "description": "create an IPAddress",
+ "operationId": "createIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
{
@@ -68705,25 +80791,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
}
},
@@ -68731,24 +80818,24 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}": {
+ "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a StorageVersion",
- "operationId": "deleteStorageVersion",
+ "description": "delete an IPAddress",
+ "operationId": "deleteIPAddress",
"parameters": [
{
"in": "body",
@@ -68771,6 +80858,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -68789,7 +80883,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -68809,233 +80904,33 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified StorageVersion",
- "operationId": "readStorageVersion",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver_v1alpha1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
- }
- },
- "parameters": [
- {
- "description": "name of the StorageVersion",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified StorageVersion",
- "operationId": "patchStorageVersion",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver_v1alpha1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified StorageVersion",
- "operationId": "replaceStorageVersion",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "internalApiserver_v1alpha1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/storageversions/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified StorageVersion",
- "operationId": "readStorageVersionStatus",
+ "description": "read the specified IPAddress",
+ "operationId": "readIPAddress",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
}
},
@@ -69043,18 +80938,18 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the StorageVersion",
+ "description": "name of the IPAddress",
"in": "path",
"name": "name",
"required": true,
@@ -69074,10 +80969,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified StorageVersion",
- "operationId": "patchStorageVersionStatus",
+ "description": "partially update the specified IPAddress",
+ "operationId": "patchIPAddress",
"parameters": [
{
"in": "body",
@@ -69119,19 +81015,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
}
},
@@ -69139,13 +81036,13 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -69153,15 +81050,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified StorageVersion",
- "operationId": "replaceStorageVersionStatus",
+ "description": "replace the specified IPAddress",
+ "operationId": "replaceIPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
{
@@ -69189,19 +81086,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.StorageVersion"
+ "$ref": "#/definitions/v1beta1.IPAddress"
}
}
},
@@ -69209,206 +81107,135 @@
"https"
],
"tags": [
- "internalApiserver_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "internal.apiserver.k8s.io",
- "kind": "StorageVersion",
- "version": "v1alpha1"
+ "group": "networking.k8s.io",
+ "kind": "IPAddress",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/internal.apiserver.k8s.io/v1alpha1/watch/storageversions/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the StorageVersion",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/": {
- "get": {
+ "/apis/networking.k8s.io/v1beta1/servicecidrs": {
+ "delete": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json"
+ ],
+ "description": "delete collection of ServiceCIDR",
+ "operationId": "deleteCollectionServiceCIDR",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -69416,29 +81243,108 @@
"https"
],
"tags": [
- "networking"
- ]
- }
- },
- "/apis/networking.k8s.io/v1/": {
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
"get": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ServiceCIDR",
+ "operationId": "listServiceCIDR",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1beta1.ServiceCIDRList"
}
}
},
@@ -69446,32 +81352,39 @@
"https"
],
"tags": [
- "networking_v1"
- ]
- }
- },
- "/apis/networking.k8s.io/v1/ingressclasses": {
- "delete": {
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
"consumes": [
"application/json"
],
- "description": "delete collection of IngressClass",
- "operationId": "deleteCollectionIngressClass",
+ "description": "create a ServiceCIDR",
+ "operationId": "createServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -69480,80 +81393,117 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "fieldSelector",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "labelSelector",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
},
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ServiceCIDR",
+ "operationId": "deleteServiceCIDR",
+ "parameters": [
{
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "propagationPolicy",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "resourceVersion",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
- "name": "sendInitialEvents",
+ "name": "orphanDependents",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
"in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
+ "name": "propagationPolicy",
+ "type": "string",
"uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -69561,19 +81511,25 @@
"schema": {
"$ref": "#/definitions/v1.Status"
}
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
}
},
"schemes": [
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -69581,92 +81537,19 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind IngressClass",
- "operationId": "listIngressClass",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
+ "description": "read the specified ServiceCIDR",
+ "operationId": "readServiceCIDR",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClassList"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -69674,16 +81557,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
}
},
"parameters": [
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -69692,19 +81583,23 @@
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "create an IngressClass",
- "operationId": "createIngressClass",
+ "description": "partially update the specified ServiceCIDR",
+ "operationId": "patchServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1.Patch"
}
},
{
@@ -69715,7 +81610,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -69727,30 +81622,32 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -69758,30 +81655,29 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/ingressclasses/{name}": {
- "delete": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete an IngressClass",
- "operationId": "deleteIngressClass",
+ "description": "replace the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
{
@@ -69792,23 +81688,16 @@
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "propagationPolicy",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
}
@@ -69816,19 +81705,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -69836,32 +81726,35 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified IngressClass",
- "operationId": "readIngressClass",
+ "description": "read status of the specified ServiceCIDR",
+ "operationId": "readServiceCIDRStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
@@ -69869,18 +81762,18 @@
"https"
],
"tags": [
- "networking_v1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the IngressClass",
+ "description": "name of the ServiceCIDR",
"in": "path",
"name": "name",
"required": true,
@@ -69900,10 +81793,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified IngressClass",
- "operationId": "patchIngressClass",
+ "description": "partially update status of the specified ServiceCIDR",
+ "operationId": "patchServiceCIDRStatus",
"parameters": [
{
"in": "body",
@@ -69945,142 +81839,361 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.IngressClass"
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace status of the specified ServiceCIDR",
+ "operationId": "replaceServiceCIDRStatus",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ServiceCIDR"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "networking_v1beta1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "networking.k8s.io",
+ "kind": "ServiceCIDR",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the IPAddress",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified IngressClass",
- "operationId": "replaceIngressClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.IngressClass"
- }
- }
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IngressClass",
- "version": "v1"
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/ingresses": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Ingress",
- "operationId": "listIngressForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.IngressList"
- }
- }
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70117,6 +82230,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ServiceCIDR",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -70161,13 +82282,75 @@
}
]
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses": {
+ "/apis/node.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "node"
+ ]
+ }
+ },
+ "/apis/node.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "node_v1"
+ ]
+ }
+ },
+ "/apis/node.k8s.io/v1/runtimeclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Ingress",
- "operationId": "deleteCollectionNamespacedIngress",
+ "description": "delete collection of RuntimeClass",
+ "operationId": "deleteCollectionRuntimeClass",
"parameters": [
{
"in": "body",
@@ -70204,6 +82387,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -70264,7 +82454,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -70278,12 +82469,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -70292,8 +82483,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Ingress",
- "operationId": "listNamespacedIngress",
+ "description": "list or watch objects of kind RuntimeClass",
+ "operationId": "listRuntimeClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -70370,14 +82561,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.IngressList"
+ "$ref": "#/definitions/v1.RuntimeClassList"
}
}
},
@@ -70385,24 +82578,16 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -70415,15 +82600,15 @@
"consumes": [
"application/json"
],
- "description": "create an Ingress",
- "operationId": "createNamespacedIngress",
+ "description": "create a RuntimeClass",
+ "operationId": "createRuntimeClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
{
@@ -70451,25 +82636,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -70477,24 +82663,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}": {
+ "/apis/node.k8s.io/v1/runtimeclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an Ingress",
- "operationId": "deleteNamespacedIngress",
+ "description": "delete a RuntimeClass",
+ "operationId": "deleteRuntimeClass",
"parameters": [
{
"in": "body",
@@ -70518,223 +82704,23 @@
"uniqueItems": true
},
{
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "orphanDependents",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified Ingress",
- "operationId": "readNamespacedIngress",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "name of the Ingress",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified Ingress",
- "operationId": "patchNamespacedIngress",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
- "name": "force",
+ "name": "orphanDependents",
"type": "boolean",
"uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
- "version": "v1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified Ingress",
- "operationId": "replaceNamespacedIngress",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Ingress"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
"in": "query",
- "name": "fieldValidation",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -70742,19 +82728,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.Status"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -70762,34 +82749,33 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/ingresses/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified Ingress",
- "operationId": "readNamespacedIngressStatus",
+ "description": "read the specified RuntimeClass",
+ "operationId": "readRuntimeClass",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -70797,32 +82783,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Ingress",
+ "description": "name of the RuntimeClass",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -70836,10 +82814,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified Ingress",
- "operationId": "patchNamespacedIngressStatus",
+ "description": "partially update the specified RuntimeClass",
+ "operationId": "patchRuntimeClass",
"parameters": [
{
"in": "body",
@@ -70881,19 +82860,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -70901,12 +82881,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -70915,15 +82895,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified Ingress",
- "operationId": "replaceNamespacedIngressStatus",
+ "description": "replace the specified RuntimeClass",
+ "operationId": "replaceRuntimeClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
{
@@ -70951,19 +82931,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Ingress"
+ "$ref": "#/definitions/v1.RuntimeClass"
}
}
},
@@ -70971,24 +82952,256 @@
"https"
],
"tags": [
- "networking_v1"
+ "node_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "Ingress",
+ "group": "node.k8s.io",
+ "kind": "RuntimeClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": {
+ "/apis/node.k8s.io/v1/watch/runtimeclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the RuntimeClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/policy/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy"
+ ]
+ }
+ },
+ "/apis/policy/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
+ ]
+ }
+ },
+ "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of NetworkPolicy",
- "operationId": "deleteCollectionNamespacedNetworkPolicy",
+ "description": "delete collection of PodDisruptionBudget",
+ "operationId": "deleteCollectionNamespacedPodDisruptionBudget",
"parameters": [
{
"in": "body",
@@ -71025,6 +83238,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -71085,7 +83305,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -71099,12 +83320,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71113,8 +83334,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind NetworkPolicy",
- "operationId": "listNamespacedNetworkPolicy",
+ "description": "list or watch objects of kind PodDisruptionBudget",
+ "operationId": "listNamespacedPodDisruptionBudget",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -71138,67 +83359,282 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudgetList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a PodDisruptionBudget",
+ "operationId": "createNamespacedPodDisruptionBudget",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a PodDisruptionBudget",
+ "operationId": "deleteNamespacedPodDisruptionBudget",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "labelSelector",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "limit",
+ "name": "gracePeriodSeconds",
"type": "integer",
"uniqueItems": true
},
{
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
- "name": "sendInitialEvents",
+ "name": "orphanDependents",
"type": "boolean",
"uniqueItems": true
},
{
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
"in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
+ "name": "propagationPolicy",
+ "type": "string",
"uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
}
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "policy_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
],
+ "description": "read the specified PodDisruptionBudget",
+ "operationId": "readNamespacedPodDisruptionBudget",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicyList"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71206,16 +83642,24 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "name of the PodDisruptionBudget",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -71232,19 +83676,23 @@
"uniqueItems": true
}
],
- "post": {
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "create a NetworkPolicy",
- "operationId": "createNamespacedNetworkPolicy",
+ "description": "partially update the specified PodDisruptionBudget",
+ "operationId": "patchNamespacedPodDisruptionBudget",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.Patch"
}
},
{
@@ -71255,7 +83703,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -71267,30 +83715,32 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71298,30 +83748,29 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": {
- "delete": {
+ },
+ "put": {
"consumes": [
"application/json"
],
- "description": "delete a NetworkPolicy",
- "operationId": "deleteNamespacedNetworkPolicy",
+ "description": "replace the specified PodDisruptionBudget",
+ "operationId": "replaceNamespacedPodDisruptionBudget",
"parameters": [
{
"in": "body",
"name": "body",
+ "required": true,
"schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
{
@@ -71332,23 +83781,16 @@
"uniqueItems": true
},
{
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
- "name": "orphanDependents",
- "type": "boolean",
+ "name": "fieldManager",
+ "type": "string",
"uniqueItems": true
},
{
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "propagationPolicy",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
}
@@ -71356,19 +83798,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
- "202": {
- "description": "Accepted",
+ "201": {
+ "description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71376,32 +83819,35 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
+ }
+ },
+ "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified NetworkPolicy",
- "operationId": "readNamespacedNetworkPolicy",
+ "description": "read status of the specified PodDisruptionBudget",
+ "operationId": "readNamespacedPodDisruptionBudgetStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71409,18 +83855,18 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the NetworkPolicy",
+ "description": "name of the PodDisruptionBudget",
"in": "path",
"name": "name",
"required": true,
@@ -71448,10 +83894,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified NetworkPolicy",
- "operationId": "patchNamespacedNetworkPolicy",
+ "description": "partially update status of the specified PodDisruptionBudget",
+ "operationId": "patchNamespacedPodDisruptionBudgetStatus",
"parameters": [
{
"in": "body",
@@ -71493,19 +83940,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71513,12 +83961,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -71527,15 +83975,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified NetworkPolicy",
- "operationId": "replaceNamespacedNetworkPolicy",
+ "description": "replace status of the specified PodDisruptionBudget",
+ "operationId": "replaceNamespacedPodDisruptionBudgetStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
{
@@ -71563,19 +84011,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicy"
+ "$ref": "#/definitions/v1.PodDisruptionBudget"
}
}
},
@@ -71583,36 +84032,38 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1/networkpolicies": {
+ "/apis/policy/v1/poddisruptionbudgets": {
"get": {
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind NetworkPolicy",
- "operationId": "listNetworkPolicyForAllNamespaces",
+ "description": "list or watch objects of kind PodDisruptionBudget",
+ "operationId": "listPodDisruptionBudgetForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.NetworkPolicyList"
+ "$ref": "#/definitions/v1.PodDisruptionBudgetList"
}
}
},
@@ -71620,12 +84071,12 @@
"https"
],
"tags": [
- "networking_v1"
+ "policy_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "NetworkPolicy",
+ "group": "policy",
+ "kind": "PodDisruptionBudget",
"version": "v1"
}
},
@@ -71709,258 +84160,7 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/ingressclasses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/ingressclasses/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the IngressClass",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/ingresses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses": {
+ "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72049,7 +84249,7 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/ingresses/{name}": {
+ "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72087,7 +84287,7 @@
"uniqueItems": true
},
{
- "description": "name of the Ingress",
+ "description": "name of the PodDisruptionBudget",
"in": "path",
"name": "name",
"required": true,
@@ -72146,96 +84346,7 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": {
+ "/apis/policy/v1/watch/poddisruptionbudgets": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72272,22 +84383,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the NetworkPolicy",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -72332,100 +84427,51 @@
}
]
},
- "/apis/networking.k8s.io/v1/watch/networkpolicies": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "/apis/rbac.authorization.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization"
+ ]
+ }
},
- "/apis/networking.k8s.io/v1alpha1/": {
+ "/apis/rbac.authorization.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -72439,17 +84485,17 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
]
}
},
- "/apis/networking.k8s.io/v1alpha1/ipaddresses": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of IPAddress",
- "operationId": "deleteCollectionIPAddress",
+ "description": "delete collection of ClusterRoleBinding",
+ "operationId": "deleteCollectionClusterRoleBinding",
"parameters": [
{
"in": "body",
@@ -72486,6 +84532,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -72546,7 +84599,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -72560,13 +84614,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -72574,8 +84628,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind IPAddress",
- "operationId": "listIPAddress",
+ "description": "list or watch objects of kind ClusterRoleBinding",
+ "operationId": "listClusterRoleBinding",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -72652,14 +84706,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddressList"
+ "$ref": "#/definitions/v1.ClusterRoleBindingList"
}
}
},
@@ -72667,13 +84723,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
}
},
"parameters": [
@@ -72689,15 +84745,15 @@
"consumes": [
"application/json"
],
- "description": "create an IPAddress",
- "operationId": "createIPAddress",
+ "description": "create a ClusterRoleBinding",
+ "operationId": "createClusterRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
{
@@ -72725,25 +84781,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -72751,24 +84808,24 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete an IPAddress",
- "operationId": "deleteIPAddress",
+ "description": "delete a ClusterRoleBinding",
+ "operationId": "deleteClusterRoleBinding",
"parameters": [
{
"in": "body",
@@ -72791,6 +84848,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -72809,7 +84873,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -72829,13 +84894,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -72843,18 +84908,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified IPAddress",
- "operationId": "readIPAddress",
+ "description": "read the specified ClusterRoleBinding",
+ "operationId": "readClusterRoleBinding",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -72862,18 +84928,18 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the IPAddress",
+ "description": "name of the ClusterRoleBinding",
"in": "path",
"name": "name",
"required": true,
@@ -72893,10 +84959,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified IPAddress",
- "operationId": "patchIPAddress",
+ "description": "partially update the specified ClusterRoleBinding",
+ "operationId": "patchClusterRoleBinding",
"parameters": [
{
"in": "body",
@@ -72938,19 +85005,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -72958,13 +85026,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -72972,15 +85040,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified IPAddress",
- "operationId": "replaceIPAddress",
+ "description": "replace the specified ClusterRoleBinding",
+ "operationId": "replaceClusterRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
{
@@ -73008,19 +85076,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.IPAddress"
+ "$ref": "#/definitions/v1.ClusterRoleBinding"
}
}
},
@@ -73028,24 +85097,24 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "IPAddress",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRoleBinding",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1alpha1/servicecidrs": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterroles": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ServiceCIDR",
- "operationId": "deleteCollectionServiceCIDR",
+ "description": "delete collection of ClusterRole",
+ "operationId": "deleteCollectionClusterRole",
"parameters": [
{
"in": "body",
@@ -73082,6 +85151,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -73142,7 +85218,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -73156,13 +85233,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73170,8 +85247,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ServiceCIDR",
- "operationId": "listServiceCIDR",
+ "description": "list or watch objects of kind ClusterRole",
+ "operationId": "listClusterRole",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -73248,14 +85325,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDRList"
+ "$ref": "#/definitions/v1.ClusterRoleList"
}
}
},
@@ -73263,13 +85342,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
}
},
"parameters": [
@@ -73285,15 +85364,15 @@
"consumes": [
"application/json"
],
- "description": "create a ServiceCIDR",
- "operationId": "createServiceCIDR",
+ "description": "create a ClusterRole",
+ "operationId": "createClusterRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
{
@@ -73321,25 +85400,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -73347,236 +85427,30 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ServiceCIDR",
- "operationId": "deleteServiceCIDR",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1alpha1"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
- },
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ServiceCIDR",
- "operationId": "readServiceCIDR",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1alpha1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
- }
- },
- "parameters": [
- {
- "description": "name of the ServiceCIDR",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ServiceCIDR",
- "operationId": "patchServiceCIDR",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "networking_v1alpha1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ServiceCIDR",
- "operationId": "replaceServiceCIDR",
+ "description": "delete a ClusterRole",
+ "operationId": "deleteClusterRole",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
},
{
@@ -73587,16 +85461,30 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "fieldManager",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "fieldValidation",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -73604,19 +85492,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.Status"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -73624,34 +85513,33 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified ServiceCIDR",
- "operationId": "readServiceCIDRStatus",
+ "description": "read the specified ClusterRole",
+ "operationId": "readClusterRole",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -73659,18 +85547,18 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
}
},
"parameters": [
{
- "description": "name of the ServiceCIDR",
+ "description": "name of the ClusterRole",
"in": "path",
"name": "name",
"required": true,
@@ -73690,10 +85578,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified ServiceCIDR",
- "operationId": "patchServiceCIDRStatus",
+ "description": "partially update the specified ClusterRole",
+ "operationId": "patchClusterRole",
"parameters": [
{
"in": "body",
@@ -73735,19 +85624,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -73755,13 +85645,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
},
@@ -73769,15 +85659,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified ServiceCIDR",
- "operationId": "replaceServiceCIDRStatus",
+ "description": "replace the specified ClusterRole",
+ "operationId": "replaceClusterRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
{
@@ -73805,19 +85695,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/v1.ClusterRole"
}
}
},
@@ -73825,424 +85716,24 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "networking.k8s.io",
- "kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "group": "rbac.authorization.k8s.io",
+ "kind": "ClusterRole",
+ "version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the IPAddress",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ServiceCIDR",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/node.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "node"
- ]
- }
- },
- "/apis/node.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "node_v1"
- ]
- }
- },
- "/apis/node.k8s.io/v1/runtimeclasses": {
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of RuntimeClass",
- "operationId": "deleteCollectionRuntimeClass",
+ "description": "delete collection of RoleBinding",
+ "operationId": "deleteCollectionNamespacedRoleBinding",
"parameters": [
{
"in": "body",
@@ -74279,6 +85770,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -74339,7 +85837,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -74353,12 +85852,12 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -74367,8 +85866,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind RuntimeClass",
- "operationId": "listRuntimeClass",
+ "description": "list or watch objects of kind RoleBinding",
+ "operationId": "listNamespacedRoleBinding",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -74445,14 +85944,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClassList"
+ "$ref": "#/definitions/v1.RoleBindingList"
}
}
},
@@ -74460,16 +85961,24 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -74482,15 +85991,15 @@
"consumes": [
"application/json"
],
- "description": "create a RuntimeClass",
- "operationId": "createRuntimeClass",
+ "description": "create a RoleBinding",
+ "operationId": "createNamespacedRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
{
@@ -74518,25 +86027,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
}
},
@@ -74544,24 +86054,24 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/node.k8s.io/v1/runtimeclasses/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a RuntimeClass",
- "operationId": "deleteRuntimeClass",
+ "description": "delete a RoleBinding",
+ "operationId": "deleteNamespacedRoleBinding",
"parameters": [
{
"in": "body",
@@ -74584,6 +86094,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -74602,7 +86119,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -74622,12 +86140,12 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -74636,18 +86154,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified RuntimeClass",
- "operationId": "readRuntimeClass",
+ "description": "read the specified RoleBinding",
+ "operationId": "readNamespacedRoleBinding",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
}
},
@@ -74655,24 +86174,32 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the RuntimeClass",
+ "description": "name of the RoleBinding",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -74686,10 +86213,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified RuntimeClass",
- "operationId": "patchRuntimeClass",
+ "description": "partially update the specified RoleBinding",
+ "operationId": "patchNamespacedRoleBinding",
"parameters": [
{
"in": "body",
@@ -74731,19 +86259,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
}
},
@@ -74751,12 +86280,12 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -74765,15 +86294,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified RuntimeClass",
- "operationId": "replaceRuntimeClass",
+ "description": "replace the specified RoleBinding",
+ "operationId": "replaceNamespacedRoleBinding",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
{
@@ -74801,19 +86330,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RuntimeClass"
+ "$ref": "#/definitions/v1.RoleBinding"
}
}
},
@@ -74821,254 +86351,24 @@
"https"
],
"tags": [
- "node_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "node.k8s.io",
- "kind": "RuntimeClass",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/node.k8s.io/v1/watch/runtimeclasses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/node.k8s.io/v1/watch/runtimeclasses/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the RuntimeClass",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/policy/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "policy"
- ]
- }
- },
- "/apis/policy/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ]
- }
- },
- "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets": {
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PodDisruptionBudget",
- "operationId": "deleteCollectionNamespacedPodDisruptionBudget",
+ "description": "delete collection of Role",
+ "operationId": "deleteCollectionNamespacedRole",
"parameters": [
{
"in": "body",
@@ -75105,6 +86405,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -75165,7 +86472,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -75179,12 +86487,12 @@
"https"
],
"tags": [
- "policy_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75193,8 +86501,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PodDisruptionBudget",
- "operationId": "listNamespacedPodDisruptionBudget",
+ "description": "list or watch objects of kind Role",
+ "operationId": "listNamespacedRole",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -75271,14 +86579,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudgetList"
+ "$ref": "#/definitions/v1.RoleList"
}
}
},
@@ -75286,12 +86596,12 @@
"https"
],
"tags": [
- "policy_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
}
},
@@ -75316,15 +86626,15 @@
"consumes": [
"application/json"
],
- "description": "create a PodDisruptionBudget",
- "operationId": "createNamespacedPodDisruptionBudget",
+ "description": "create a Role",
+ "operationId": "createNamespacedRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
},
{
@@ -75352,25 +86662,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75378,24 +86689,24 @@
"https"
],
"tags": [
- "policy_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PodDisruptionBudget",
- "operationId": "deleteNamespacedPodDisruptionBudget",
+ "description": "delete a Role",
+ "operationId": "deleteNamespacedRole",
"parameters": [
{
"in": "body",
@@ -75418,6 +86729,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -75436,7 +86754,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -75456,12 +86775,12 @@
"https"
],
"tags": [
- "policy_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75470,18 +86789,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified PodDisruptionBudget",
- "operationId": "readNamespacedPodDisruptionBudget",
+ "description": "read the specified Role",
+ "operationId": "readNamespacedRole",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75489,18 +86809,18 @@
"https"
],
"tags": [
- "policy_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PodDisruptionBudget",
+ "description": "name of the Role",
"in": "path",
"name": "name",
"required": true,
@@ -75528,10 +86848,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified PodDisruptionBudget",
- "operationId": "patchNamespacedPodDisruptionBudget",
+ "description": "partially update the specified Role",
+ "operationId": "patchNamespacedRole",
"parameters": [
{
"in": "body",
@@ -75573,19 +86894,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75593,12 +86915,12 @@
"https"
],
"tags": [
- "policy_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -75607,15 +86929,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified PodDisruptionBudget",
- "operationId": "replaceNamespacedPodDisruptionBudget",
+ "description": "replace the specified Role",
+ "operationId": "replaceNamespacedRole",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
},
{
@@ -75643,19 +86965,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.Role"
}
}
},
@@ -75663,59 +86986,628 @@
"https"
],
"tags": [
- "policy_v1"
+ "rbacAuthorization_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/policy/v1/namespaces/{namespace}/poddisruptionbudgets/{name}/status": {
+ "/apis/rbac.authorization.k8s.io/v1/rolebindings": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified PodDisruptionBudget",
- "operationId": "readNamespacedPodDisruptionBudgetStatus",
+ "description": "list or watch objects of kind RoleBinding",
+ "operationId": "listRoleBindingForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
+ "$ref": "#/definitions/v1.RoleBindingList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "RoleBinding",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/roles": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind Role",
+ "operationId": "listRoleForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.RoleList"
}
}
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "rbacAuthorization_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "rbac.authorization.k8s.io",
+ "kind": "Role",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ClusterRoleBinding",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": {
"parameters": [
{
- "description": "name of the PodDisruptionBudget",
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ClusterRole",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "object name and auth scope, such as for teams and projects",
"in": "path",
@@ -75730,194 +87622,45 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified PodDisruptionBudget",
- "operationId": "patchNamespacedPodDisruptionBudgetStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified PodDisruptionBudget",
- "operationId": "replaceNamespacedPodDisruptionBudgetStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudget"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/policy/v1/poddisruptionbudgets": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind PodDisruptionBudget",
- "operationId": "listPodDisruptionBudgetForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.PodDisruptionBudgetList"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "policy_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "policy",
- "kind": "PodDisruptionBudget",
- "version": "v1"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -75954,6 +87697,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the RoleBinding",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -75998,7 +87757,7 @@
}
]
},
- "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76087,7 +87846,7 @@
}
]
},
- "/apis/policy/v1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76125,7 +87884,7 @@
"uniqueItems": true
},
{
- "description": "name of the PodDisruptionBudget",
+ "description": "name of the Role",
"in": "path",
"name": "name",
"required": true,
@@ -76184,7 +87943,7 @@
}
]
},
- "/apis/policy/v1/watch/poddisruptionbudgets": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76265,7 +88024,88 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/": {
+ "/apis/rbac.authorization.k8s.io/v1/watch/roles": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -76291,23 +88131,25 @@
"https"
],
"tags": [
- "rbacAuthorization"
+ "resource"
]
}
},
- "/apis/rbac.authorization.k8s.io/v1/": {
+ "/apis/resource.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -76321,17 +88163,17 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
]
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings": {
+ "/apis/resource.k8s.io/v1/deviceclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ClusterRoleBinding",
- "operationId": "deleteCollectionClusterRoleBinding",
+ "description": "delete collection of DeviceClass",
+ "operationId": "deleteCollectionDeviceClass",
"parameters": [
{
"in": "body",
@@ -76368,6 +88210,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -76428,7 +88277,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -76442,12 +88292,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -76456,8 +88306,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ClusterRoleBinding",
- "operationId": "listClusterRoleBinding",
+ "description": "list or watch objects of kind DeviceClass",
+ "operationId": "listDeviceClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -76534,14 +88384,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBindingList"
+ "$ref": "#/definitions/v1.DeviceClassList"
}
}
},
@@ -76549,12 +88401,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
"version": "v1"
}
},
@@ -76571,15 +88423,15 @@
"consumes": [
"application/json"
],
- "description": "create a ClusterRoleBinding",
- "operationId": "createClusterRoleBinding",
+ "description": "create a DeviceClass",
+ "operationId": "createDeviceClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
{
@@ -76607,25 +88459,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -76633,24 +88486,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name}": {
+ "/apis/resource.k8s.io/v1/deviceclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ClusterRoleBinding",
- "operationId": "deleteClusterRoleBinding",
+ "description": "delete a DeviceClass",
+ "operationId": "deleteDeviceClass",
"parameters": [
{
"in": "body",
@@ -76673,6 +88526,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -76691,19 +88551,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -76711,12 +88572,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -76725,18 +88586,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ClusterRoleBinding",
- "operationId": "readClusterRoleBinding",
+ "description": "read the specified DeviceClass",
+ "operationId": "readDeviceClass",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -76744,18 +88606,18 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ClusterRoleBinding",
+ "description": "name of the DeviceClass",
"in": "path",
"name": "name",
"required": true,
@@ -76775,10 +88637,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ClusterRoleBinding",
- "operationId": "patchClusterRoleBinding",
+ "description": "partially update the specified DeviceClass",
+ "operationId": "patchDeviceClass",
"parameters": [
{
"in": "body",
@@ -76820,19 +88683,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -76840,12 +88704,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -76854,15 +88718,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ClusterRoleBinding",
- "operationId": "replaceClusterRoleBinding",
+ "description": "replace the specified DeviceClass",
+ "operationId": "replaceDeviceClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
{
@@ -76890,19 +88754,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleBinding"
+ "$ref": "#/definitions/v1.DeviceClass"
}
}
},
@@ -76910,24 +88775,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterroles": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ClusterRole",
- "operationId": "deleteCollectionClusterRole",
+ "description": "delete collection of ResourceClaim",
+ "operationId": "deleteCollectionNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -76964,6 +88829,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -77024,7 +88896,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -77038,12 +88911,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -77052,8 +88925,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ClusterRole",
- "operationId": "listClusterRole",
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listNamespacedResourceClaim",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -77130,14 +89003,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRoleList"
+ "$ref": "#/definitions/v1.ResourceClaimList"
}
}
},
@@ -77145,16 +89020,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -77167,15 +89050,15 @@
"consumes": [
"application/json"
],
- "description": "create a ClusterRole",
- "operationId": "createClusterRole",
+ "description": "create a ResourceClaim",
+ "operationId": "createNamespacedResourceClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
{
@@ -77203,25 +89086,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -77229,24 +89113,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/clusterroles/{name}": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ClusterRole",
- "operationId": "deleteClusterRole",
+ "description": "delete a ResourceClaim",
+ "operationId": "deleteNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -77269,6 +89153,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -77287,19 +89178,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -77307,12 +89199,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -77321,18 +89213,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ClusterRole",
- "operationId": "readClusterRole",
+ "description": "read the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaim",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -77340,24 +89233,32 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the ClusterRole",
+ "description": "name of the ResourceClaim",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -77371,10 +89272,224 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ClusterRole",
- "operationId": "patchClusterRole",
+ "description": "partially update the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaims/{name}/status": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read status of the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaimStatus",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ResourceClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update status of the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaimStatus",
"parameters": [
{
"in": "body",
@@ -77416,19 +89531,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -77436,12 +89552,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -77450,15 +89566,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ClusterRole",
- "operationId": "replaceClusterRole",
+ "description": "replace status of the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaimStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
{
@@ -77486,19 +89602,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.ClusterRole"
+ "$ref": "#/definitions/resource.v1.ResourceClaim"
}
}
},
@@ -77506,24 +89623,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "ClusterRole",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of RoleBinding",
- "operationId": "deleteCollectionNamespacedRoleBinding",
+ "description": "delete collection of ResourceClaimTemplate",
+ "operationId": "deleteCollectionNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -77560,6 +89677,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -77620,7 +89744,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -77634,12 +89759,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -77648,8 +89773,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind RoleBinding",
- "operationId": "listNamespacedRoleBinding",
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listNamespacedResourceClaimTemplate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -77726,14 +89851,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBindingList"
+ "$ref": "#/definitions/v1.ResourceClaimTemplateList"
}
}
},
@@ -77741,12 +89868,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
"version": "v1"
}
},
@@ -77771,15 +89898,15 @@
"consumes": [
"application/json"
],
- "description": "create a RoleBinding",
- "operationId": "createNamespacedRoleBinding",
+ "description": "create a ResourceClaimTemplate",
+ "operationId": "createNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
{
@@ -77807,25 +89934,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -77833,24 +89961,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name}": {
+ "/apis/resource.k8s.io/v1/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a RoleBinding",
- "operationId": "deleteNamespacedRoleBinding",
+ "description": "delete a ResourceClaimTemplate",
+ "operationId": "deleteNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -77873,6 +90001,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -77891,19 +90026,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -77911,12 +90047,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -77925,18 +90061,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified RoleBinding",
- "operationId": "readNamespacedRoleBinding",
+ "description": "read the specified ResourceClaimTemplate",
+ "operationId": "readNamespacedResourceClaimTemplate",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -77944,18 +90081,18 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the RoleBinding",
+ "description": "name of the ResourceClaimTemplate",
"in": "path",
"name": "name",
"required": true,
@@ -77983,10 +90120,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified RoleBinding",
- "operationId": "patchNamespacedRoleBinding",
+ "description": "partially update the specified ResourceClaimTemplate",
+ "operationId": "patchNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -78028,19 +90166,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -78048,12 +90187,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -78062,15 +90201,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified RoleBinding",
- "operationId": "replaceNamespacedRoleBinding",
+ "description": "replace the specified ResourceClaimTemplate",
+ "operationId": "replaceNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
{
@@ -78098,19 +90237,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.RoleBinding"
+ "$ref": "#/definitions/v1.ResourceClaimTemplate"
}
}
},
@@ -78118,24 +90258,258 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1/resourceclaims": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listResourceClaimForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceClaimList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1/resourceclaimtemplates": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listResourceClaimTemplateForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.ResourceClaimTemplateList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
"version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles": {
+ "/apis/resource.k8s.io/v1/resourceslices": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of Role",
- "operationId": "deleteCollectionNamespacedRole",
+ "description": "delete collection of ResourceSlice",
+ "operationId": "deleteCollectionResourceSlice",
"parameters": [
{
"in": "body",
@@ -78172,6 +90546,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -78232,7 +90613,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -78246,12 +90628,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -78260,8 +90642,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind Role",
- "operationId": "listNamespacedRole",
+ "description": "list or watch objects of kind ResourceSlice",
+ "operationId": "listResourceSlice",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -78338,14 +90720,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.RoleList"
+ "$ref": "#/definitions/v1.ResourceSliceList"
}
}
},
@@ -78353,24 +90737,16 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -78383,15 +90759,15 @@
"consumes": [
"application/json"
],
- "description": "create a Role",
- "operationId": "createNamespacedRole",
+ "description": "create a ResourceSlice",
+ "operationId": "createResourceSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
{
@@ -78419,25 +90795,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -78445,24 +90822,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name}": {
+ "/apis/resource.k8s.io/v1/resourceslices/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a Role",
- "operationId": "deleteNamespacedRole",
+ "description": "delete a ResourceSlice",
+ "operationId": "deleteResourceSlice",
"parameters": [
{
"in": "body",
@@ -78485,6 +90862,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -78503,19 +90887,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -78523,12 +90908,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -78537,18 +90922,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified Role",
- "operationId": "readNamespacedRole",
+ "description": "read the specified ResourceSlice",
+ "operationId": "readResourceSlice",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -78556,32 +90942,24 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the Role",
+ "description": "name of the ResourceSlice",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -78595,10 +90973,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified Role",
- "operationId": "patchNamespacedRole",
+ "description": "partially update the specified ResourceSlice",
+ "operationId": "patchResourceSlice",
"parameters": [
{
"in": "body",
@@ -78640,19 +91019,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -78660,12 +91040,12 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -78674,15 +91054,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified Role",
- "operationId": "replaceNamespacedRole",
+ "description": "replace the specified ResourceSlice",
+ "operationId": "replaceResourceSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
{
@@ -78710,19 +91090,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.Role"
+ "$ref": "#/definitions/v1.ResourceSlice"
}
}
},
@@ -78730,52 +91111,277 @@
"https"
],
"tags": [
- "rbacAuthorization_v1"
+ "resource_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/rbac.authorization.k8s.io/v1/rolebindings": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind RoleBinding",
- "operationId": "listRoleBindingForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.RoleBindingList"
- }
- }
+ "/apis/resource.k8s.io/v1/watch/deviceclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "rbacAuthorization_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "RoleBinding",
- "version": "v1"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/resource.k8s.io/v1/watch/deviceclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the DeviceClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaims": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaims/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -78799,19 +91405,35 @@
"uniqueItems": true
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ResourceClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -78856,41 +91478,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/roles": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind Role",
- "operationId": "listRoleForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.RoleList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "rbacAuthorization_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "rbac.authorization.k8s.io",
- "kind": "Role",
- "version": "v1"
- }
- },
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -78927,6 +91515,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -78971,7 +91567,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": {
+ "/apis/resource.k8s.io/v1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79008,6 +91604,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceClaimTemplate",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79052,7 +91664,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": {
+ "/apis/resource.k8s.io/v1/watch/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79089,14 +91701,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ClusterRoleBinding",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79141,7 +91745,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": {
+ "/apis/resource.k8s.io/v1/watch/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79222,7 +91826,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": {
+ "/apis/resource.k8s.io/v1/watch/resourceslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79259,14 +91863,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the ClusterRole",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79311,7 +91907,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": {
+ "/apis/resource.k8s.io/v1/watch/resourceslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79349,9 +91945,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the ResourceSlice",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -79400,104 +91996,658 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
+ "/apis/resource.k8s.io/v1alpha3/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ]
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/devicetaintrules": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of DeviceTaintRule",
+ "operationId": "deleteCollectionDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind DeviceTaintRule",
+ "operationId": "listDeviceTaintRule",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRuleList"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ }
+ },
+ "parameters": [
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
- "name": "labelSelector",
+ "name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a DeviceTaintRule",
+ "operationId": "createDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1alpha3/devicetaintrules/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a DeviceTaintRule",
+ "operationId": "deleteDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified DeviceTaintRule",
+ "operationId": "readDeviceTaintRule",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
+ }
+ },
+ "parameters": [
{
- "description": "name of the RoleBinding",
+ "description": "name of the DeviceTaintRule",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified DeviceTaintRule",
+ "operationId": "patchDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified DeviceTaintRule",
+ "operationId": "replaceDeviceTaintRule",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha3.DeviceTaintRule"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1alpha3"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceTaintRule",
+ "version": "v1alpha3"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": {
+ "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79534,14 +92684,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79586,7 +92728,7 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": {
+ "/apis/resource.k8s.io/v1alpha3/watch/devicetaintrules/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -79624,21 +92766,13 @@
"uniqueItems": true
},
{
- "description": "name of the Role",
+ "description": "name of the DeviceTaintRule",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -79683,187 +92817,568 @@
}
]
},
- "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
+ "/apis/resource.k8s.io/v1beta1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ]
+ }
+ },
+ "/apis/resource.k8s.io/v1beta1/deviceclasses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of DeviceClass",
+ "operationId": "deleteCollectionDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind DeviceClass",
+ "operationId": "listDeviceClass",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClassList"
+ }
+ }
},
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
+ }
+ },
+ "parameters": [
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a DeviceClass",
+ "operationId": "createDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1beta1/deviceclasses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a DeviceClass",
+ "operationId": "deleteDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified DeviceClass",
+ "operationId": "readDeviceClass",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
}
- ]
- },
- "/apis/rbac.authorization.k8s.io/v1/watch/roles": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the DeviceClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
}
- ]
- },
- "/apis/resource.k8s.io/": {
- "get": {
+ ],
+ "patch": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified DeviceClass",
+ "operationId": "patchDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIGroup"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
}
},
@@ -79871,29 +93386,70 @@
"https"
],
"tags": [
- "resource"
- ]
- }
- },
- "/apis/resource.k8s.io/v1alpha2/": {
- "get": {
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
"consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/json"
+ ],
+ "description": "replace the specified DeviceClass",
+ "operationId": "replaceDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
],
- "description": "get available resources",
- "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.APIResourceList"
+ "$ref": "#/definitions/v1beta1.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.DeviceClass"
}
}
},
@@ -79901,17 +93457,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
- ]
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta1"
+ },
+ "x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PodSchedulingContext",
- "operationId": "deleteCollectionNamespacedPodSchedulingContext",
+ "description": "delete collection of ResourceClaim",
+ "operationId": "deleteCollectionNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -79948,6 +93511,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -80008,7 +93578,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -80022,13 +93593,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -80036,8 +93607,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PodSchedulingContext",
- "operationId": "listNamespacedPodSchedulingContext",
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listNamespacedResourceClaim",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80114,14 +93685,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContextList"
+ "$ref": "#/definitions/v1beta1.ResourceClaimList"
}
}
},
@@ -80129,13 +93702,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -80159,15 +93732,15 @@
"consumes": [
"application/json"
],
- "description": "create a PodSchedulingContext",
- "operationId": "createNamespacedPodSchedulingContext",
+ "description": "create a ResourceClaim",
+ "operationId": "createNamespacedResourceClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
{
@@ -80195,25 +93768,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80221,24 +93795,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PodSchedulingContext",
- "operationId": "deleteNamespacedPodSchedulingContext",
+ "description": "delete a ResourceClaim",
+ "operationId": "deleteNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -80261,6 +93835,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -80279,19 +93860,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80299,13 +93881,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -80313,18 +93895,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified PodSchedulingContext",
- "operationId": "readNamespacedPodSchedulingContext",
+ "description": "read the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaim",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80332,18 +93915,18 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the PodSchedulingContext",
+ "description": "name of the ResourceClaim",
"in": "path",
"name": "name",
"required": true,
@@ -80371,10 +93954,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified PodSchedulingContext",
- "operationId": "patchNamespacedPodSchedulingContext",
+ "description": "partially update the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -80416,19 +94000,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80436,13 +94021,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -80450,15 +94035,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified PodSchedulingContext",
- "operationId": "replaceNamespacedPodSchedulingContext",
+ "description": "replace the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
{
@@ -80486,19 +94071,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80506,34 +94092,35 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/podschedulingcontexts/{name}/status": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified PodSchedulingContext",
- "operationId": "readNamespacedPodSchedulingContextStatus",
+ "description": "read status of the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaimStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80541,18 +94128,18 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the PodSchedulingContext",
+ "description": "name of the ResourceClaim",
"in": "path",
"name": "name",
"required": true,
@@ -80580,10 +94167,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified PodSchedulingContext",
- "operationId": "patchNamespacedPodSchedulingContextStatus",
+ "description": "partially update status of the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaimStatus",
"parameters": [
{
"in": "body",
@@ -80625,19 +94213,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80645,13 +94234,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -80659,15 +94248,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified PodSchedulingContext",
- "operationId": "replaceNamespacedPodSchedulingContextStatus",
+ "description": "replace status of the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaimStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
{
@@ -80695,19 +94284,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContext"
+ "$ref": "#/definitions/v1beta1.ResourceClaim"
}
}
},
@@ -80715,24 +94305,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ResourceClaimParameters",
- "operationId": "deleteCollectionNamespacedResourceClaimParameters",
+ "description": "delete collection of ResourceClaimTemplate",
+ "operationId": "deleteCollectionNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -80769,6 +94359,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -80829,7 +94426,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -80843,13 +94441,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -80857,8 +94455,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ResourceClaimParameters",
- "operationId": "listNamespacedResourceClaimParameters",
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listNamespacedResourceClaimTemplate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -80935,14 +94533,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParametersList"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList"
}
}
},
@@ -80950,13 +94550,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
}
},
"parameters": [
@@ -80980,15 +94580,15 @@
"consumes": [
"application/json"
],
- "description": "create ResourceClaimParameters",
- "operationId": "createNamespacedResourceClaimParameters",
+ "description": "create a ResourceClaimTemplate",
+ "operationId": "createNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
{
@@ -81016,25 +94616,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -81042,24 +94643,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimparameters/{name}": {
+ "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete ResourceClaimParameters",
- "operationId": "deleteNamespacedResourceClaimParameters",
+ "description": "delete a ResourceClaimTemplate",
+ "operationId": "deleteNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -81082,6 +94683,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -81100,19 +94708,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -81120,13 +94729,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81134,18 +94743,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ResourceClaimParameters",
- "operationId": "readNamespacedResourceClaimParameters",
+ "description": "read the specified ResourceClaimTemplate",
+ "operationId": "readNamespacedResourceClaimTemplate",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -81153,18 +94763,18 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the ResourceClaimParameters",
+ "description": "name of the ResourceClaimTemplate",
"in": "path",
"name": "name",
"required": true,
@@ -81192,10 +94802,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ResourceClaimParameters",
- "operationId": "patchNamespacedResourceClaimParameters",
+ "description": "partially update the specified ResourceClaimTemplate",
+ "operationId": "patchNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -81237,19 +94848,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -81257,13 +94869,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81271,15 +94883,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ResourceClaimParameters",
- "operationId": "replaceNamespacedResourceClaimParameters",
+ "description": "replace the specified ResourceClaimTemplate",
+ "operationId": "replaceNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
{
@@ -81307,19 +94919,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParameters"
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplate"
}
}
},
@@ -81327,24 +94940,258 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta1/resourceclaims": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listResourceClaimForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ResourceClaimList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/resourceclaimtemplates": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listResourceClaimTemplateForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta1.ResourceClaimTemplateList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/resourceslices": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ResourceClaim",
- "operationId": "deleteCollectionNamespacedResourceClaim",
+ "description": "delete collection of ResourceSlice",
+ "operationId": "deleteCollectionResourceSlice",
"parameters": [
{
"in": "body",
@@ -81381,6 +95228,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -81441,7 +95295,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -81455,13 +95310,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81469,8 +95324,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ResourceClaim",
- "operationId": "listNamespacedResourceClaim",
+ "description": "list or watch objects of kind ResourceSlice",
+ "operationId": "listResourceSlice",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -81547,14 +95402,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimList"
+ "$ref": "#/definitions/v1beta1.ResourceSliceList"
}
}
},
@@ -81562,24 +95419,16 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -81592,15 +95441,15 @@
"consumes": [
"application/json"
],
- "description": "create a ResourceClaim",
- "operationId": "createNamespacedResourceClaim",
+ "description": "create a ResourceSlice",
+ "operationId": "createResourceSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
{
@@ -81628,25 +95477,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -81654,24 +95504,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}": {
+ "/apis/resource.k8s.io/v1beta1/resourceslices/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ResourceClaim",
- "operationId": "deleteNamespacedResourceClaim",
+ "description": "delete a ResourceSlice",
+ "operationId": "deleteResourceSlice",
"parameters": [
{
"in": "body",
@@ -81694,6 +95544,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -81712,19 +95569,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -81732,13 +95590,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81746,18 +95604,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ResourceClaim",
- "operationId": "readNamespacedResourceClaim",
+ "description": "read the specified ResourceSlice",
+ "operationId": "readResourceSlice",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -81765,32 +95624,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
}
},
"parameters": [
{
- "description": "name of the ResourceClaim",
+ "description": "name of the ResourceSlice",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -81804,10 +95655,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ResourceClaim",
- "operationId": "patchNamespacedResourceClaim",
+ "description": "partially update the specified ResourceSlice",
+ "operationId": "patchResourceSlice",
"parameters": [
{
"in": "body",
@@ -81849,19 +95701,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -81869,13 +95722,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -81883,15 +95736,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ResourceClaim",
- "operationId": "replaceNamespacedResourceClaim",
+ "description": "replace the specified ResourceSlice",
+ "operationId": "replaceResourceSlice",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
{
@@ -81919,19 +95772,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
+ "$ref": "#/definitions/v1beta1.ResourceSlice"
}
}
},
@@ -81939,53 +95793,501 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ "kind": "ResourceSlice",
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaims/{name}/status": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read status of the specified ResourceClaim",
- "operationId": "readNamespacedResourceClaimStatus",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
- }
- }
+ "/apis/resource.k8s.io/v1beta1/watch/deviceclasses": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/deviceclasses/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the DeviceClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaims/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ResourceClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
- }
- },
- "parameters": [
{
- "description": "name of the ResourceClaim",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ResourceClaimTemplate",
"in": "path",
"name": "name",
"required": true,
@@ -82006,608 +96308,328 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update status of the specified ResourceClaim",
- "operationId": "patchNamespacedResourceClaimStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
- }
- }
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/resourceclaims": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace status of the specified ResourceClaim",
- "operationId": "replaceNamespacedResourceClaimStatus",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaim"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete collection of ResourceClaimTemplate",
- "operationId": "deleteCollectionNamespacedResourceClaimTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.Status"
- }
- }
+ "/apis/resource.k8s.io/v1beta1/watch/resourceclaimtemplates": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "deletecollection",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ResourceClaimTemplate",
- "operationId": "listNamespacedResourceClaimTemplate",
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateList"
- }
- }
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/resourceslices": {
"parameters": [
{
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
- }
- ],
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "create a ResourceClaimTemplate",
- "operationId": "createNamespacedResourceClaimTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- }
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "post",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclaimtemplates/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ResourceClaimTemplate",
- "operationId": "deleteNamespacedResourceClaimTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- }
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
},
- "x-codegen-request-body-name": "body"
- },
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "read the specified ResourceClaimTemplate",
- "operationId": "readNamespacedResourceClaimTemplate",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- }
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
},
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "get",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- },
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta1/watch/resourceslices/{name}": {
"parameters": [
{
- "description": "name of the ResourceClaimTemplate",
- "in": "path",
- "name": "name",
- "required": true,
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
"type": "string",
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the ResourceSlice",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -82618,141 +96640,65 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
}
- ],
- "patch": {
+ ]
+ },
+ "/apis/resource.k8s.io/v1beta2/": {
+ "get": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ResourceClaimTemplate",
- "operationId": "patchNamespacedResourceClaimTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ResourceClaimTemplate",
- "operationId": "replaceNamespacedResourceClaimTemplate",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplate"
+ "$ref": "#/definitions/v1.APIResourceList"
}
}
},
@@ -82760,24 +96706,17 @@
"https"
],
"tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
- },
- "x-codegen-request-body-name": "body"
+ "resource_v1beta2"
+ ]
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters": {
+ "/apis/resource.k8s.io/v1beta2/deviceclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ResourceClassParameters",
- "operationId": "deleteCollectionNamespacedResourceClassParameters",
+ "description": "delete collection of DeviceClass",
+ "operationId": "deleteCollectionDeviceClass",
"parameters": [
{
"in": "body",
@@ -82814,6 +96753,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -82874,7 +96820,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -82888,13 +96835,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
+ "kind": "DeviceClass",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -82902,8 +96849,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ResourceClassParameters",
- "operationId": "listNamespacedResourceClassParameters",
+ "description": "list or watch objects of kind DeviceClass",
+ "operationId": "listDeviceClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -82980,14 +96927,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParametersList"
+ "$ref": "#/definitions/v1beta2.DeviceClassList"
}
}
},
@@ -82995,24 +96944,16 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
+ "kind": "DeviceClass",
+ "version": "v1beta2"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -83025,15 +96966,15 @@
"consumes": [
"application/json"
],
- "description": "create ResourceClassParameters",
- "operationId": "createNamespacedResourceClassParameters",
+ "description": "create a DeviceClass",
+ "operationId": "createDeviceClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
{
@@ -83061,25 +97002,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -83087,24 +97029,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
+ "kind": "DeviceClass",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/namespaces/{namespace}/resourceclassparameters/{name}": {
+ "/apis/resource.k8s.io/v1beta2/deviceclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete ResourceClassParameters",
- "operationId": "deleteNamespacedResourceClassParameters",
+ "description": "delete a DeviceClass",
+ "operationId": "deleteDeviceClass",
"parameters": [
{
"in": "body",
@@ -83127,6 +97069,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -83145,19 +97094,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -83165,13 +97115,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
+ "kind": "DeviceClass",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -83179,18 +97129,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ResourceClassParameters",
- "operationId": "readNamespacedResourceClassParameters",
+ "description": "read the specified DeviceClass",
+ "operationId": "readDeviceClass",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -83198,555 +97149,97 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
+ "kind": "DeviceClass",
+ "version": "v1beta2"
}
},
"parameters": [
{
- "description": "name of the ResourceClassParameters",
+ "description": "name of the DeviceClass",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "patch": {
- "consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
- ],
- "description": "partially update the specified ResourceClassParameters",
- "operationId": "patchNamespacedResourceClassParameters",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1.Patch"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "patch",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
- },
- "x-codegen-request-body-name": "body"
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "replace the specified ResourceClassParameters",
- "operationId": "replaceNamespacedResourceClassParameters",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
- "in": "query",
- "name": "fieldManager",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
- "in": "query",
- "name": "fieldValidation",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
- }
- },
- "201": {
- "description": "Created",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParameters"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "put",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
- },
- "x-codegen-request-body-name": "body"
- }
- },
- "/apis/resource.k8s.io/v1alpha2/podschedulingcontexts": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind PodSchedulingContext",
- "operationId": "listPodSchedulingContextForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.PodSchedulingContextList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "PodSchedulingContext",
- "version": "v1alpha2"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/resourceclaimparameters": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ResourceClaimParameters",
- "operationId": "listResourceClaimParametersForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimParametersList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaimParameters",
- "version": "v1alpha2"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/resourceclaims": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ResourceClaim",
- "operationId": "listResourceClaimForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClaim",
- "version": "v1alpha2"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
"uniqueItems": true
}
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/resourceclaimtemplates": {
- "get": {
+ ],
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified DeviceClass",
+ "operationId": "patchDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
],
- "description": "list or watch objects of kind ResourceClaimTemplate",
- "operationId": "listResourceClaimTemplateForAllNamespaces",
"produces": [
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClaimTemplateList"
+ "$ref": "#/definitions/v1beta2.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.DeviceClass"
}
}
},
@@ -83754,102 +97247,95 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClaimTemplate",
- "version": "v1alpha2"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "kind": "DeviceClass",
+ "version": "v1beta2"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified DeviceClass",
+ "operationId": "replaceDeviceClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta2.DeviceClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.DeviceClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.DeviceClass"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "DeviceClass",
+ "version": "v1beta2"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/resource.k8s.io/v1alpha2/resourceclasses": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ResourceClass",
- "operationId": "deleteCollectionResourceClass",
+ "description": "delete collection of ResourceClaim",
+ "operationId": "deleteCollectionNamespacedResourceClaim",
"parameters": [
{
"in": "body",
@@ -83886,6 +97372,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -83946,7 +97439,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -83960,13 +97454,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -83974,8 +97468,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ResourceClass",
- "operationId": "listResourceClass",
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listNamespacedResourceClaim",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84052,14 +97546,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassList"
+ "$ref": "#/definitions/v1beta2.ResourceClaimList"
}
}
},
@@ -84067,16 +97563,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -84089,15 +97593,318 @@
"consumes": [
"application/json"
],
- "description": "create a ResourceClass",
- "operationId": "createResourceClass",
+ "description": "create a ResourceClaim",
+ "operationId": "createNamespacedResourceClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ResourceClaim",
+ "operationId": "deleteNamespacedResourceClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaim",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
+ }
+ },
+ "parameters": [
+ {
+ "description": "name of the ResourceClaim",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaim",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaim",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
{
@@ -84125,25 +97932,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -84151,110 +97953,35 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/resourceclasses/{name}": {
- "delete": {
- "consumes": [
- "application/json"
- ],
- "description": "delete a ResourceClass",
- "operationId": "deleteResourceClass",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "delete",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
- },
- "x-codegen-request-body-name": "body"
- },
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaims/{name}/status": {
"get": {
"consumes": [
"application/json"
],
- "description": "read the specified ResourceClass",
- "operationId": "readResourceClass",
+ "description": "read status of the specified ResourceClaim",
+ "operationId": "readNamespacedResourceClaimStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -84262,24 +97989,32 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
}
},
"parameters": [
{
- "description": "name of the ResourceClass",
+ "description": "name of the ResourceClaim",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -84293,10 +98028,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ResourceClass",
- "operationId": "patchResourceClass",
+ "description": "partially update status of the specified ResourceClaim",
+ "operationId": "patchNamespacedResourceClaimStatus",
"parameters": [
{
"in": "body",
@@ -84338,19 +98074,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -84358,13 +98095,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -84372,15 +98109,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ResourceClass",
- "operationId": "replaceResourceClass",
+ "description": "replace status of the specified ResourceClaim",
+ "operationId": "replaceNamespacedResourceClaimStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
{
@@ -84408,19 +98145,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClass"
+ "$ref": "#/definitions/v1beta2.ResourceClaim"
}
}
},
@@ -84428,139 +98166,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceClass",
- "version": "v1alpha2"
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/resourceclassparameters": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind ResourceClassParameters",
- "operationId": "listResourceClassParametersForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1alpha2.ResourceClassParametersList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "resource_v1alpha2"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "resource.k8s.io",
- "kind": "ResourceClassParameters",
- "version": "v1alpha2"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/resourceslices": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of ResourceSlice",
- "operationId": "deleteCollectionResourceSlice",
+ "description": "delete collection of ResourceClaimTemplate",
+ "operationId": "deleteCollectionNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -84597,6 +98220,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -84657,7 +98287,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -84671,13 +98302,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -84685,8 +98316,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind ResourceSlice",
- "operationId": "listResourceSlice",
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listNamespacedResourceClaimTemplate",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -84763,14 +98394,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSliceList"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplateList"
}
}
},
@@ -84778,16 +98411,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -84800,15 +98441,15 @@
"consumes": [
"application/json"
],
- "description": "create a ResourceSlice",
- "operationId": "createResourceSlice",
+ "description": "create a ResourceClaimTemplate",
+ "operationId": "createNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
{
@@ -84836,25 +98477,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -84862,24 +98504,24 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/resourceslices/{name}": {
+ "/apis/resource.k8s.io/v1beta2/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a ResourceSlice",
- "operationId": "deleteResourceSlice",
+ "description": "delete a ResourceClaimTemplate",
+ "operationId": "deleteNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -84902,6 +98544,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -84920,19 +98569,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -84940,13 +98590,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -84954,18 +98604,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified ResourceSlice",
- "operationId": "readResourceSlice",
+ "description": "read the specified ResourceClaimTemplate",
+ "operationId": "readNamespacedResourceClaimTemplate",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -84973,24 +98624,32 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
}
},
"parameters": [
{
- "description": "name of the ResourceSlice",
+ "description": "name of the ResourceClaimTemplate",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -85004,10 +98663,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified ResourceSlice",
- "operationId": "patchResourceSlice",
+ "description": "partially update the specified ResourceClaimTemplate",
+ "operationId": "patchNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
@@ -85049,19 +98709,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -85069,13 +98730,13 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
},
@@ -85083,15 +98744,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified ResourceSlice",
- "operationId": "replaceResourceSlice",
+ "description": "replace the specified ResourceClaimTemplate",
+ "operationId": "replaceNamespacedResourceClaimTemplate",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
{
@@ -85119,19 +98780,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha2.ResourceSlice"
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplate"
}
}
},
@@ -85139,107 +98801,54 @@
"https"
],
"tags": [
- "resource_v1alpha2"
+ "resource_v1beta2"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "resource.k8s.io",
- "kind": "ResourceSlice",
- "version": "v1alpha2"
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "/apis/resource.k8s.io/v1beta2/resourceclaims": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaim",
+ "operationId": "listResourceClaimForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaim",
+ "version": "v1beta2"
}
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/podschedulingcontexts/{name}": {
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -85276,22 +98885,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the PodSchedulingContext",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -85336,7 +98929,43 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters": {
+ "/apis/resource.k8s.io/v1beta2/resourceclaimtemplates": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceClaimTemplate",
+ "operationId": "listResourceClaimTemplateForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceClaimTemplateList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceClaimTemplate",
+ "version": "v1beta2"
+ }
+ },
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -85373,14 +99002,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -85425,290 +99046,626 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimparameters/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ResourceClaimParameters",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "/apis/resource.k8s.io/v1beta2/resourceslices": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of ResourceSlice",
+ "operationId": "deleteCollectionResourceSlice",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind ResourceSlice",
+ "operationId": "listResourceSlice",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSliceList"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
}
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims": {
+ },
"parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a ResourceSlice",
+ "operationId": "createResourceSlice",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/resource.k8s.io/v1beta2/resourceslices/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a ResourceSlice",
+ "operationId": "deleteResourceSlice",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified ResourceSlice",
+ "operationId": "readResourceSlice",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
}
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaims/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the ResourceClaim",
+ "description": "name of the ResourceSlice",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified ResourceSlice",
+ "operationId": "patchResourceSlice",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified ResourceSlice",
+ "operationId": "replaceResourceSlice",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1beta2.ResourceSlice"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "resource_v1beta2"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "resource.k8s.io",
+ "kind": "ResourceSlice",
+ "version": "v1beta2"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta2/watch/deviceclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -85745,14 +99702,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -85797,7 +99746,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/deviceclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -85835,21 +99784,13 @@
"uniqueItems": true
},
{
- "description": "name of the ResourceClaimTemplate",
+ "description": "name of the DeviceClass",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -85894,7 +99835,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -85983,7 +99924,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/namespaces/{namespace}/resourceclassparameters/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaims/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86021,7 +99962,7 @@
"uniqueItems": true
},
{
- "description": "name of the ResourceClassParameters",
+ "description": "name of the ResourceClaim",
"in": "path",
"name": "name",
"required": true,
@@ -86080,7 +100021,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/podschedulingcontexts": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86117,6 +100058,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -86161,7 +100110,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimparameters": {
+ "/apis/resource.k8s.io/v1beta2/watch/namespaces/{namespace}/resourceclaimtemplates/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86198,6 +100147,22 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the ResourceClaimTemplate",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -86242,7 +100207,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/resourceclaims": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceclaims": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86323,7 +100288,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/resourceclaimtemplates": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceclaimtemplates": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86404,7 +100369,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceslices": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86485,7 +100450,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/resourceclasses/{name}": {
+ "/apis/resource.k8s.io/v1beta2/watch/resourceslices/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86523,7 +100488,7 @@
"uniqueItems": true
},
{
- "description": "name of the ResourceClass",
+ "description": "name of the ResourceSlice",
"in": "path",
"name": "name",
"required": true,
@@ -86537,125 +100502,725 @@
"type": "string",
"uniqueItems": true
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/scheduling.k8s.io/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "description": "get information of a group",
+ "operationId": "getAPIGroup",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIGroup"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling"
+ ]
+ }
+ },
+ "/apis/scheduling.k8s.io/v1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ]
+ }
+ },
+ "/apis/scheduling.k8s.io/v1/priorityclasses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of PriorityClass",
+ "operationId": "deleteCollectionPriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind PriorityClass",
+ "operationId": "listPriorityClass",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClassList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a PriorityClass",
+ "operationId": "createPriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a PriorityClass",
+ "operationId": "deletePriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified PriorityClass",
+ "operationId": "readPriorityClass",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
}
- ]
- },
- "/apis/resource.k8s.io/v1alpha2/watch/resourceclassparameters": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
+ "description": "name of the PriorityClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified PriorityClass",
+ "operationId": "patchPriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified PriorityClass",
+ "operationId": "replacePriorityClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.PriorityClass"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "scheduling_v1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "scheduling.k8s.io",
+ "kind": "PriorityClass",
+ "version": "v1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/resource.k8s.io/v1alpha2/watch/resourceslices": {
+ "/apis/scheduling.k8s.io/v1/watch/priorityclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86736,7 +101301,7 @@
}
]
},
- "/apis/resource.k8s.io/v1alpha2/watch/resourceslices/{name}": {
+ "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -86774,7 +101339,7 @@
"uniqueItems": true
},
{
- "description": "name of the ResourceSlice",
+ "description": "name of the PriorityClass",
"in": "path",
"name": "name",
"required": true,
@@ -86825,7 +101390,7 @@
}
]
},
- "/apis/scheduling.k8s.io/": {
+ "/apis/storage.k8s.io/": {
"get": {
"consumes": [
"application/json",
@@ -86851,23 +101416,25 @@
"https"
],
"tags": [
- "scheduling"
+ "storage"
]
}
},
- "/apis/scheduling.k8s.io/v1/": {
+ "/apis/storage.k8s.io/v1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -86881,17 +101448,17 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
]
}
},
- "/apis/scheduling.k8s.io/v1/priorityclasses": {
+ "/apis/storage.k8s.io/v1/csidrivers": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of PriorityClass",
- "operationId": "deleteCollectionPriorityClass",
+ "description": "delete collection of CSIDriver",
+ "operationId": "deleteCollectionCSIDriver",
"parameters": [
{
"in": "body",
@@ -86928,6 +101495,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -86988,7 +101562,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -87002,12 +101577,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -87016,8 +101591,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind PriorityClass",
- "operationId": "listPriorityClass",
+ "description": "list or watch objects of kind CSIDriver",
+ "operationId": "listCSIDriver",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -87094,14 +101669,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClassList"
+ "$ref": "#/definitions/v1.CSIDriverList"
}
}
},
@@ -87109,12 +101686,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
}
},
@@ -87131,15 +101708,15 @@
"consumes": [
"application/json"
],
- "description": "create a PriorityClass",
- "operationId": "createPriorityClass",
+ "description": "create a CSIDriver",
+ "operationId": "createCSIDriver",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
{
@@ -87167,25 +101744,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -87193,24 +101771,24 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/scheduling.k8s.io/v1/priorityclasses/{name}": {
+ "/apis/storage.k8s.io/v1/csidrivers/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a PriorityClass",
- "operationId": "deletePriorityClass",
+ "description": "delete a CSIDriver",
+ "operationId": "deleteCSIDriver",
"parameters": [
{
"in": "body",
@@ -87233,6 +101811,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -87251,19 +101836,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -87271,12 +101857,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -87285,18 +101871,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified PriorityClass",
- "operationId": "readPriorityClass",
+ "description": "read the specified CSIDriver",
+ "operationId": "readCSIDriver",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -87304,18 +101891,18 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the PriorityClass",
+ "description": "name of the CSIDriver",
"in": "path",
"name": "name",
"required": true,
@@ -87335,10 +101922,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified PriorityClass",
- "operationId": "patchPriorityClass",
+ "description": "partially update the specified CSIDriver",
+ "operationId": "patchCSIDriver",
"parameters": [
{
"in": "body",
@@ -87380,19 +101968,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -87400,12 +101989,12 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -87414,15 +102003,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified PriorityClass",
- "operationId": "replacePriorityClass",
+ "description": "replace the specified CSIDriver",
+ "operationId": "replaceCSIDriver",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
{
@@ -87450,19 +102039,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.PriorityClass"
+ "$ref": "#/definitions/v1.CSIDriver"
}
}
},
@@ -87470,254 +102060,24 @@
"https"
],
"tags": [
- "scheduling_v1"
+ "storage_v1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
- "group": "scheduling.k8s.io",
- "kind": "PriorityClass",
+ "group": "storage.k8s.io",
+ "kind": "CSIDriver",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/scheduling.k8s.io/v1/watch/priorityclasses": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": {
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the PriorityClass",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/storage.k8s.io/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get information of a group",
- "operationId": "getAPIGroup",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIGroup"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage"
- ]
- }
- },
- "/apis/storage.k8s.io/v1/": {
- "get": {
- "consumes": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "description": "get available resources",
- "operationId": "getAPIResources",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.APIResourceList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage_v1"
- ]
- }
- },
- "/apis/storage.k8s.io/v1/csidrivers": {
+ "/apis/storage.k8s.io/v1/csinodes": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CSIDriver",
- "operationId": "deleteCollectionCSIDriver",
+ "description": "delete collection of CSINode",
+ "operationId": "deleteCollectionCSINode",
"parameters": [
{
"in": "body",
@@ -87754,6 +102114,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -87814,7 +102181,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -87833,7 +102201,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -87842,8 +102210,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CSIDriver",
- "operationId": "listCSIDriver",
+ "description": "list or watch objects of kind CSINode",
+ "operationId": "listCSINode",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -87920,14 +102288,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriverList"
+ "$ref": "#/definitions/v1.CSINodeList"
}
}
},
@@ -87940,7 +102310,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
}
},
@@ -87957,15 +102327,15 @@
"consumes": [
"application/json"
],
- "description": "create a CSIDriver",
- "operationId": "createCSIDriver",
+ "description": "create a CSINode",
+ "operationId": "createCSINode",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
{
@@ -87993,25 +102363,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -88024,19 +102395,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csidrivers/{name}": {
+ "/apis/storage.k8s.io/v1/csinodes/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CSIDriver",
- "operationId": "deleteCSIDriver",
+ "description": "delete a CSINode",
+ "operationId": "deleteCSINode",
"parameters": [
{
"in": "body",
@@ -88059,6 +102430,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -88077,19 +102455,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -88102,7 +102481,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -88111,18 +102490,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified CSIDriver",
- "operationId": "readCSIDriver",
+ "description": "read the specified CSINode",
+ "operationId": "readCSINode",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -88135,13 +102515,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CSIDriver",
+ "description": "name of the CSINode",
"in": "path",
"name": "name",
"required": true,
@@ -88161,10 +102541,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified CSIDriver",
- "operationId": "patchCSIDriver",
+ "description": "partially update the specified CSINode",
+ "operationId": "patchCSINode",
"parameters": [
{
"in": "body",
@@ -88206,19 +102587,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -88231,7 +102613,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -88240,15 +102622,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified CSIDriver",
- "operationId": "replaceCSIDriver",
+ "description": "replace the specified CSINode",
+ "operationId": "replaceCSINode",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
{
@@ -88276,19 +102658,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIDriver"
+ "$ref": "#/definitions/v1.CSINode"
}
}
},
@@ -88301,19 +102684,136 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIDriver",
+ "kind": "CSINode",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csinodes": {
+ "/apis/storage.k8s.io/v1/csistoragecapacities": {
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind CSIStorageCapacity",
+ "operationId": "listCSIStorageCapacityForAllNamespaces",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.CSIStorageCapacityList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "CSIStorageCapacity",
+ "version": "v1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CSINode",
- "operationId": "deleteCollectionCSINode",
+ "description": "delete collection of CSIStorageCapacity",
+ "operationId": "deleteCollectionNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
@@ -88350,6 +102850,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -88410,7 +102917,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -88429,7 +102937,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -88438,8 +102946,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CSINode",
- "operationId": "listCSINode",
+ "description": "list or watch objects of kind CSIStorageCapacity",
+ "operationId": "listNamespacedCSIStorageCapacity",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -88516,14 +103024,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINodeList"
+ "$ref": "#/definitions/v1.CSIStorageCapacityList"
}
}
},
@@ -88536,11 +103046,19 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
}
},
"parameters": [
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -88553,15 +103071,15 @@
"consumes": [
"application/json"
],
- "description": "create a CSINode",
- "operationId": "createCSINode",
+ "description": "create a CSIStorageCapacity",
+ "operationId": "createNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
{
@@ -88589,25 +103107,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -88620,19 +103139,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csinodes/{name}": {
+ "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CSINode",
- "operationId": "deleteCSINode",
+ "description": "delete a CSIStorageCapacity",
+ "operationId": "deleteNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
@@ -88655,6 +103174,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -88673,19 +103199,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.Status"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -88698,7 +103225,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -88707,18 +103234,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified CSINode",
- "operationId": "readCSINode",
+ "description": "read the specified CSIStorageCapacity",
+ "operationId": "readNamespacedCSIStorageCapacity",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -88731,19 +103259,27 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CSINode",
+ "description": "name of the CSIStorageCapacity",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -88757,10 +103293,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified CSINode",
- "operationId": "patchCSINode",
+ "description": "partially update the specified CSIStorageCapacity",
+ "operationId": "patchNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
@@ -88802,19 +103339,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -88827,7 +103365,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -88836,15 +103374,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified CSINode",
- "operationId": "replaceCSINode",
+ "description": "replace the specified CSIStorageCapacity",
+ "operationId": "replaceNamespacedCSIStorageCapacity",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
{
@@ -88872,19 +103410,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSINode"
+ "$ref": "#/definitions/v1.CSIStorageCapacity"
}
}
},
@@ -88897,134 +103436,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSINode",
+ "kind": "CSIStorageCapacity",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/csistoragecapacities": {
- "get": {
- "consumes": [
- "application/json"
- ],
- "description": "list or watch objects of kind CSIStorageCapacity",
- "operationId": "listCSIStorageCapacityForAllNamespaces",
- "produces": [
- "application/json",
- "application/yaml",
- "application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacityList"
- }
- }
- },
- "schemes": [
- "https"
- ],
- "tags": [
- "storage_v1"
- ],
- "x-kubernetes-action": "list",
- "x-kubernetes-group-version-kind": {
- "group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
- "version": "v1"
- }
- },
- "parameters": [
- {
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
- },
- "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities": {
+ "/apis/storage.k8s.io/v1/storageclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of CSIStorageCapacity",
- "operationId": "deleteCollectionNamespacedCSIStorageCapacity",
+ "description": "delete collection of StorageClass",
+ "operationId": "deleteCollectionStorageClass",
"parameters": [
{
"in": "body",
@@ -89061,6 +103485,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -89121,7 +103552,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -89140,7 +103572,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -89149,8 +103581,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind CSIStorageCapacity",
- "operationId": "listNamespacedCSIStorageCapacity",
+ "description": "list or watch objects of kind StorageClass",
+ "operationId": "listStorageClass",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -89227,14 +103659,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacityList"
+ "$ref": "#/definitions/v1.StorageClassList"
}
}
},
@@ -89247,19 +103681,11 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
}
},
"parameters": [
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -89272,15 +103698,15 @@
"consumes": [
"application/json"
],
- "description": "create a CSIStorageCapacity",
- "operationId": "createNamespacedCSIStorageCapacity",
+ "description": "create a StorageClass",
+ "operationId": "createStorageClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
{
@@ -89308,25 +103734,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -89339,19 +103766,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/namespaces/{namespace}/csistoragecapacities/{name}": {
+ "/apis/storage.k8s.io/v1/storageclasses/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a CSIStorageCapacity",
- "operationId": "deleteNamespacedCSIStorageCapacity",
+ "description": "delete a StorageClass",
+ "operationId": "deleteStorageClass",
"parameters": [
{
"in": "body",
@@ -89374,6 +103801,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -89392,19 +103826,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -89417,7 +103852,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -89426,18 +103861,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified CSIStorageCapacity",
- "operationId": "readNamespacedCSIStorageCapacity",
+ "description": "read the specified StorageClass",
+ "operationId": "readStorageClass",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -89450,27 +103886,19 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the CSIStorageCapacity",
+ "description": "name of the StorageClass",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -89484,10 +103912,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified CSIStorageCapacity",
- "operationId": "patchNamespacedCSIStorageCapacity",
+ "description": "partially update the specified StorageClass",
+ "operationId": "patchStorageClass",
"parameters": [
{
"in": "body",
@@ -89529,19 +103958,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -89554,7 +103984,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -89563,15 +103993,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified CSIStorageCapacity",
- "operationId": "replaceNamespacedCSIStorageCapacity",
+ "description": "replace the specified StorageClass",
+ "operationId": "replaceStorageClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
{
@@ -89599,19 +104029,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.CSIStorageCapacity"
+ "$ref": "#/definitions/v1.StorageClass"
}
}
},
@@ -89624,19 +104055,19 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "CSIStorageCapacity",
+ "kind": "StorageClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/storageclasses": {
+ "/apis/storage.k8s.io/v1/volumeattachments": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete collection of StorageClass",
- "operationId": "deleteCollectionStorageClass",
+ "description": "delete collection of VolumeAttachment",
+ "operationId": "deleteCollectionVolumeAttachment",
"parameters": [
{
"in": "body",
@@ -89673,6 +104104,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -89733,7 +104171,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -89752,7 +104191,7 @@
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -89761,8 +104200,8 @@
"consumes": [
"application/json"
],
- "description": "list or watch objects of kind StorageClass",
- "operationId": "listStorageClass",
+ "description": "list or watch objects of kind VolumeAttachment",
+ "operationId": "listVolumeAttachment",
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -89839,14 +104278,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClassList"
+ "$ref": "#/definitions/v1.VolumeAttachmentList"
}
}
},
@@ -89859,7 +104300,7 @@
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
}
},
@@ -89876,15 +104317,15 @@
"consumes": [
"application/json"
],
- "description": "create a StorageClass",
- "operationId": "createStorageClass",
+ "description": "create a VolumeAttachment",
+ "operationId": "createVolumeAttachment",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
{
@@ -89912,25 +104353,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -89943,19 +104385,19 @@
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/storageclasses/{name}": {
+ "/apis/storage.k8s.io/v1/volumeattachments/{name}": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a StorageClass",
- "operationId": "deleteStorageClass",
+ "description": "delete a VolumeAttachment",
+ "operationId": "deleteVolumeAttachment",
"parameters": [
{
"in": "body",
@@ -89978,6 +104420,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -89996,19 +104445,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -90021,7 +104471,7 @@
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -90030,18 +104480,19 @@
"consumes": [
"application/json"
],
- "description": "read the specified StorageClass",
- "operationId": "readStorageClass",
+ "description": "read the specified VolumeAttachment",
+ "operationId": "readVolumeAttachment",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -90054,13 +104505,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the StorageClass",
+ "description": "name of the VolumeAttachment",
"in": "path",
"name": "name",
"required": true,
@@ -90080,10 +104531,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update the specified StorageClass",
- "operationId": "patchStorageClass",
+ "description": "partially update the specified VolumeAttachment",
+ "operationId": "patchVolumeAttachment",
"parameters": [
{
"in": "body",
@@ -90125,19 +104577,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -90150,7 +104603,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -90159,15 +104612,15 @@
"consumes": [
"application/json"
],
- "description": "replace the specified StorageClass",
- "operationId": "replaceStorageClass",
+ "description": "replace the specified VolumeAttachment",
+ "operationId": "replaceVolumeAttachment",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
{
@@ -90195,19 +104648,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.StorageClass"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -90220,122 +104674,30 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "StorageClass",
+ "kind": "VolumeAttachment",
"version": "v1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/volumeattachments": {
- "delete": {
+ "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": {
+ "get": {
"consumes": [
"application/json"
],
- "description": "delete collection of VolumeAttachment",
- "operationId": "deleteCollectionVolumeAttachment",
- "parameters": [
- {
- "in": "body",
- "name": "body",
- "schema": {
- "$ref": "#/definitions/v1.DeleteOptions"
- }
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
- "in": "query",
- "name": "dryRun",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
- "in": "query",
- "name": "gracePeriodSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
- "in": "query",
- "name": "orphanDependents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
- "in": "query",
- "name": "propagationPolicy",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- }
- ],
+ "description": "read status of the specified VolumeAttachment",
+ "operationId": "readVolumeAttachmentStatus",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.Status"
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -90345,88 +104707,74 @@
"tags": [
"storage_v1"
],
- "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttachment",
"version": "v1"
- },
- "x-codegen-request-body-name": "body"
+ }
},
- "get": {
+ "parameters": [
+ {
+ "description": "name of the VolumeAttachment",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "patch": {
"consumes": [
- "application/json"
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "list or watch objects of kind VolumeAttachment",
- "operationId": "listVolumeAttachment",
+ "description": "partially update status of the specified VolumeAttachment",
+ "operationId": "patchVolumeAttachmentStatus",
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
},
{
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
- "name": "labelSelector",
+ "name": "dryRun",
"type": "string",
"uniqueItems": true
},
{
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
"in": "query",
- "name": "resourceVersion",
+ "name": "fieldManager",
"type": "string",
"uniqueItems": true
},
{
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
"in": "query",
- "name": "resourceVersionMatch",
+ "name": "fieldValidation",
"type": "string",
"uniqueItems": true
},
{
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
"in": "query",
- "name": "watch",
+ "name": "force",
"type": "boolean",
"uniqueItems": true
}
@@ -90435,14 +104783,19 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
- "application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachmentList"
+ "$ref": "#/definitions/v1.VolumeAttachment"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttachment"
}
}
},
@@ -90452,28 +104805,20 @@
"tags": [
"storage_v1"
],
- "x-kubernetes-action": "list",
+ "x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttachment",
"version": "v1"
- }
+ },
+ "x-codegen-request-body-name": "body"
},
- "parameters": [
- {
- "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
- "in": "query",
- "name": "pretty",
- "type": "string",
- "uniqueItems": true
- }
- ],
- "post": {
+ "put": {
"consumes": [
"application/json"
],
- "description": "create a VolumeAttachment",
- "operationId": "createVolumeAttachment",
+ "description": "replace status of the specified VolumeAttachment",
+ "operationId": "replaceVolumeAttachmentStatus",
"parameters": [
{
"in": "body",
@@ -90508,7 +104853,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -90522,12 +104868,6 @@
"schema": {
"$ref": "#/definitions/v1.VolumeAttachment"
}
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
}
},
"schemes": [
@@ -90536,7 +104876,7 @@
"tags": [
"storage_v1"
],
- "x-kubernetes-action": "post",
+ "x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttachment",
@@ -90545,13 +104885,13 @@
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1/volumeattachments/{name}": {
+ "/apis/storage.k8s.io/v1/volumeattributesclasses": {
"delete": {
"consumes": [
"application/json"
],
- "description": "delete a VolumeAttachment",
- "operationId": "deleteVolumeAttachment",
+ "description": "delete collection of VolumeAttributesClass",
+ "operationId": "deleteCollectionVolumeAttributesClass",
"parameters": [
{
"in": "body",
@@ -90560,6 +104900,13 @@
"$ref": "#/definitions/v1.DeleteOptions"
}
},
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
"in": "query",
@@ -90567,6 +104914,13 @@
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
@@ -90574,6 +104928,27 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -90587,24 +104962,47 @@
"name": "propagationPolicy",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
- }
- },
- "202": {
- "description": "Accepted",
- "schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.Status"
}
}
},
@@ -90614,10 +105012,10 @@
"tags": [
"storage_v1"
],
- "x-kubernetes-action": "delete",
+ "x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -90626,18 +105024,94 @@
"consumes": [
"application/json"
],
- "description": "read the specified VolumeAttachment",
- "operationId": "readVolumeAttachment",
+ "description": "list or watch objects of kind VolumeAttributesClass",
+ "operationId": "listVolumeAttributesClass",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClassList"
}
}
},
@@ -90647,22 +105121,14 @@
"tags": [
"storage_v1"
],
- "x-kubernetes-action": "get",
+ "x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
}
},
"parameters": [
- {
- "description": "name of the VolumeAttachment",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -90671,22 +105137,19 @@
"uniqueItems": true
}
],
- "patch": {
+ "post": {
"consumes": [
- "application/json-patch+json",
- "application/merge-patch+json",
- "application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/json"
],
- "description": "partially update the specified VolumeAttachment",
- "operationId": "patchVolumeAttachment",
+ "description": "create a VolumeAttributesClass",
+ "operationId": "createVolumeAttributesClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.Patch"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
{
@@ -90697,7 +105160,7 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
"in": "query",
"name": "fieldManager",
"type": "string",
@@ -90709,31 +105172,31 @@
"name": "fieldValidation",
"type": "string",
"uniqueItems": true
- },
- {
- "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
- "in": "query",
- "name": "force",
- "type": "boolean",
- "uniqueItems": true
}
],
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -90743,27 +105206,28 @@
"tags": [
"storage_v1"
],
- "x-kubernetes-action": "patch",
+ "x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- },
- "put": {
+ }
+ },
+ "/apis/storage.k8s.io/v1/volumeattributesclasses/{name}": {
+ "delete": {
"consumes": [
"application/json"
],
- "description": "replace the specified VolumeAttachment",
- "operationId": "replaceVolumeAttachment",
+ "description": "delete a VolumeAttributesClass",
+ "operationId": "deleteVolumeAttributesClass",
"parameters": [
{
"in": "body",
"name": "body",
- "required": true,
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.DeleteOptions"
}
},
{
@@ -90774,16 +105238,30 @@
"uniqueItems": true
},
{
- "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
"in": "query",
- "name": "fieldManager",
- "type": "string",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
"uniqueItems": true
},
{
- "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
"in": "query",
- "name": "fieldValidation",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
"type": "string",
"uniqueItems": true
}
@@ -90791,19 +105269,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
- "201": {
- "description": "Created",
+ "202": {
+ "description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -90813,32 +105292,31 @@
"tags": [
"storage_v1"
],
- "x-kubernetes-action": "put",
+ "x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
- }
- },
- "/apis/storage.k8s.io/v1/volumeattachments/{name}/status": {
+ },
"get": {
"consumes": [
"application/json"
],
- "description": "read status of the specified VolumeAttachment",
- "operationId": "readVolumeAttachmentStatus",
+ "description": "read the specified VolumeAttributesClass",
+ "operationId": "readVolumeAttributesClass",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -90851,13 +105329,13 @@
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
}
},
"parameters": [
{
- "description": "name of the VolumeAttachment",
+ "description": "name of the VolumeAttributesClass",
"in": "path",
"name": "name",
"required": true,
@@ -90877,10 +105355,11 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
- "description": "partially update status of the specified VolumeAttachment",
- "operationId": "patchVolumeAttachmentStatus",
+ "description": "partially update the specified VolumeAttributesClass",
+ "operationId": "patchVolumeAttributesClass",
"parameters": [
{
"in": "body",
@@ -90922,19 +105401,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -90947,7 +105427,7 @@
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
"x-codegen-request-body-name": "body"
@@ -90956,15 +105436,15 @@
"consumes": [
"application/json"
],
- "description": "replace status of the specified VolumeAttachment",
- "operationId": "replaceVolumeAttachmentStatus",
+ "description": "replace the specified VolumeAttributesClass",
+ "operationId": "replaceVolumeAttributesClass",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
{
@@ -90992,19 +105472,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1.VolumeAttachment"
+ "$ref": "#/definitions/v1.VolumeAttributesClass"
}
}
},
@@ -91017,13 +105498,434 @@
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
- "kind": "VolumeAttachment",
+ "kind": "VolumeAttributesClass",
"version": "v1"
},
- "x-codegen-request-body-name": "body"
- }
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/storage.k8s.io/v1/watch/csidrivers": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the CSIDriver",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1/watch/csinodes": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1/watch/csinodes/{name}": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "name of the CSINode",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1/watch/csistoragecapacities": {
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
},
- "/apis/storage.k8s.io/v1/watch/csidrivers": {
+ "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91060,6 +105962,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -91104,7 +106014,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/csidrivers/{name}": {
+ "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91142,13 +106052,21 @@
"uniqueItems": true
},
{
- "description": "name of the CSIDriver",
+ "description": "name of the CSIStorageCapacity",
"in": "path",
"name": "name",
"required": true,
"type": "string",
"uniqueItems": true
},
+ {
+ "description": "object name and auth scope, such as for teams and projects",
+ "in": "path",
+ "name": "namespace",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -91193,7 +106111,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/csinodes": {
+ "/apis/storage.k8s.io/v1/watch/storageclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91274,7 +106192,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/csinodes/{name}": {
+ "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91312,7 +106230,7 @@
"uniqueItems": true
},
{
- "description": "name of the CSINode",
+ "description": "name of the StorageClass",
"in": "path",
"name": "name",
"required": true,
@@ -91363,7 +106281,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/csistoragecapacities": {
+ "/apis/storage.k8s.io/v1/watch/volumeattachments": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91444,7 +106362,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities": {
+ "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91482,9 +106400,9 @@
"uniqueItems": true
},
{
- "description": "object name and auth scope, such as for teams and projects",
+ "description": "name of the VolumeAttachment",
"in": "path",
- "name": "namespace",
+ "name": "name",
"required": true,
"type": "string",
"uniqueItems": true
@@ -91533,7 +106451,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/namespaces/{namespace}/csistoragecapacities/{name}": {
+ "/apis/storage.k8s.io/v1/watch/volumeattributesclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91570,22 +106488,6 @@
"type": "integer",
"uniqueItems": true
},
- {
- "description": "name of the CSIStorageCapacity",
- "in": "path",
- "name": "name",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "object name and auth scope, such as for teams and projects",
- "in": "path",
- "name": "namespace",
- "required": true,
- "type": "string",
- "uniqueItems": true
- },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -91630,7 +106532,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/storageclasses": {
+ "/apis/storage.k8s.io/v1/watch/volumeattributesclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91667,6 +106569,14 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "name of the VolumeAttributesClass",
+ "in": "path",
+ "name": "name",
+ "required": true,
+ "type": "string",
+ "uniqueItems": true
+ },
{
"description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
"in": "query",
@@ -91695,61 +106605,505 @@
"type": "boolean",
"uniqueItems": true
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ]
+ },
+ "/apis/storage.k8s.io/v1alpha1/": {
+ "get": {
+ "consumes": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "description": "get available resources",
+ "operationId": "getAPIResources",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.APIResourceList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ]
+ }
+ },
+ "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete collection of VolumeAttributesClass",
+ "operationId": "deleteCollectionVolumeAttributesClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1.Status"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ],
+ "x-kubernetes-action": "deletecollection",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "list or watch objects of kind VolumeAttributesClass",
+ "operationId": "listVolumeAttributesClass",
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "in": "query",
+ "name": "continue",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "in": "query",
+ "name": "labelSelector",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "in": "query",
+ "name": "limit",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersion",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
+ "in": "query",
+ "name": "sendInitialEvents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "in": "query",
+ "name": "timeoutSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
+ "in": "query",
+ "name": "watch",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor",
+ "application/json;stream=watch",
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClassList"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ],
+ "x-kubernetes-action": "list",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
+ }
+ },
+ "parameters": [
+ {
+ "description": "If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget).",
+ "in": "query",
+ "name": "pretty",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "post": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "create a VolumeAttributesClass",
+ "operationId": "createVolumeAttributesClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ],
+ "x-kubernetes-action": "post",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
+ },
+ "x-codegen-request-body-name": "body"
+ }
+ },
+ "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": {
+ "delete": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "delete a VolumeAttributesClass",
+ "operationId": "deleteVolumeAttributesClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "schema": {
+ "$ref": "#/definitions/v1.DeleteOptions"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.",
+ "in": "query",
+ "name": "gracePeriodSeconds",
+ "type": "integer",
+ "uniqueItems": true
+ },
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
+ "in": "query",
+ "name": "orphanDependents",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "description": "Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.",
+ "in": "query",
+ "name": "propagationPolicy",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ],
+ "x-kubernetes-action": "delete",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "get": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "read the specified VolumeAttributesClass",
+ "operationId": "readVolumeAttributesClass",
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ }
+ },
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ],
+ "x-kubernetes-action": "get",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
}
- ]
- },
- "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": {
+ },
"parameters": [
{
- "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
- "in": "query",
- "name": "allowWatchBookmarks",
- "type": "boolean",
- "uniqueItems": true
- },
- {
- "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
- "in": "query",
- "name": "continue",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
- "in": "query",
- "name": "fieldSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
- "in": "query",
- "name": "labelSelector",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
- "in": "query",
- "name": "limit",
- "type": "integer",
- "uniqueItems": true
- },
- {
- "description": "name of the StorageClass",
+ "description": "name of the VolumeAttributesClass",
"in": "path",
"name": "name",
"required": true,
@@ -91762,45 +107116,163 @@
"name": "pretty",
"type": "string",
"uniqueItems": true
+ }
+ ],
+ "patch": {
+ "consumes": [
+ "application/json-patch+json",
+ "application/merge-patch+json",
+ "application/strategic-merge-patch+json",
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
+ ],
+ "description": "partially update the specified VolumeAttributesClass",
+ "operationId": "patchVolumeAttributesClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1.Patch"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.",
+ "in": "query",
+ "name": "force",
+ "type": "boolean",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ }
},
- {
- "description": "resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersion",
- "type": "string",
- "uniqueItems": true
- },
- {
- "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
- "in": "query",
- "name": "resourceVersionMatch",
- "type": "string",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ],
+ "x-kubernetes-action": "patch",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
},
- {
- "description": "`sendInitialEvents=true` may be set together with `watch=true`. In that case, the watch stream will begin with synthetic events to produce the current state of objects in the collection. Once all such events have been sent, a synthetic \"Bookmark\" event will be sent. The bookmark will report the ResourceVersion (RV) corresponding to the set of objects, and be marked with `\"k8s.io/initial-events-end\": \"true\"` annotation. Afterwards, the watch stream will proceed as usual, sending watch events corresponding to changes (subsequent to the RV) to objects watched.\n\nWhen `sendInitialEvents` option is set, we require `resourceVersionMatch` option to also be set. The semantic of the watch request is as following: - `resourceVersionMatch` = NotOlderThan\n is interpreted as \"data at least as new as the provided `resourceVersion`\"\n and the bookmark event is send when the state is synced\n to a `resourceVersion` at least as fresh as the one provided by the ListOptions.\n If `resourceVersion` is unset, this is interpreted as \"consistent read\" and the\n bookmark event is send when the state is synced at least to the moment\n when request started being processed.\n- `resourceVersionMatch` set to any other value or unset\n Invalid error is returned.\n\nDefaults to true if `resourceVersion=\"\"` or `resourceVersion=\"0\"` (for backward compatibility reasons) and to false otherwise.",
- "in": "query",
- "name": "sendInitialEvents",
- "type": "boolean",
- "uniqueItems": true
+ "x-codegen-request-body-name": "body"
+ },
+ "put": {
+ "consumes": [
+ "application/json"
+ ],
+ "description": "replace the specified VolumeAttributesClass",
+ "operationId": "replaceVolumeAttributesClass",
+ "parameters": [
+ {
+ "in": "body",
+ "name": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ },
+ {
+ "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed",
+ "in": "query",
+ "name": "dryRun",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.",
+ "in": "query",
+ "name": "fieldManager",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.",
+ "in": "query",
+ "name": "fieldValidation",
+ "type": "string",
+ "uniqueItems": true
+ }
+ ],
+ "produces": [
+ "application/json",
+ "application/yaml",
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ }
+ }
},
- {
- "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
- "in": "query",
- "name": "timeoutSeconds",
- "type": "integer",
- "uniqueItems": true
+ "schemes": [
+ "https"
+ ],
+ "tags": [
+ "storage_v1alpha1"
+ ],
+ "x-kubernetes-action": "put",
+ "x-kubernetes-group-version-kind": {
+ "group": "storage.k8s.io",
+ "kind": "VolumeAttributesClass",
+ "version": "v1alpha1"
},
- {
- "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.",
- "in": "query",
- "name": "watch",
- "type": "boolean",
- "uniqueItems": true
- }
- ]
+ "x-codegen-request-body-name": "body"
+ }
},
- "/apis/storage.k8s.io/v1/watch/volumeattachments": {
+ "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91881,7 +107353,7 @@
}
]
},
- "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": {
+ "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -91919,7 +107391,7 @@
"uniqueItems": true
},
{
- "description": "name of the VolumeAttachment",
+ "description": "name of the VolumeAttributesClass",
"in": "path",
"name": "name",
"required": true,
@@ -91970,19 +107442,21 @@
}
]
},
- "/apis/storage.k8s.io/v1alpha1/": {
+ "/apis/storage.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -91996,11 +107470,11 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
]
}
},
- "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses": {
+ "/apis/storage.k8s.io/v1beta1/volumeattributesclasses": {
"delete": {
"consumes": [
"application/json"
@@ -92043,6 +107517,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -92103,7 +107584,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -92117,13 +107599,13 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -92209,14 +107691,16 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClassList"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClassList"
}
}
},
@@ -92224,13 +107708,13 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -92254,7 +107738,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
},
{
@@ -92282,25 +107766,26 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
}
},
@@ -92308,18 +107793,18 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1alpha1/volumeattributesclasses/{name}": {
+ "/apis/storage.k8s.io/v1beta1/volumeattributesclasses/{name}": {
"delete": {
"consumes": [
"application/json"
@@ -92348,6 +107833,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -92366,19 +107858,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
}
},
@@ -92386,13 +107879,13 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -92405,13 +107898,14 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
}
},
@@ -92419,13 +107913,13 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -92450,7 +107944,8 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
"description": "partially update the specified VolumeAttributesClass",
"operationId": "patchVolumeAttributesClass",
@@ -92495,19 +107990,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
}
},
@@ -92515,13 +108011,13 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
},
@@ -92537,7 +108033,7 @@
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
},
{
@@ -92565,19 +108061,20 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/v1alpha1.VolumeAttributesClass"
+ "$ref": "#/definitions/v1beta1.VolumeAttributesClass"
}
}
},
@@ -92585,18 +108082,18 @@
"https"
],
"tags": [
- "storage_v1alpha1"
+ "storage_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "storage.k8s.io",
"kind": "VolumeAttributesClass",
- "version": "v1alpha1"
+ "version": "v1beta1"
},
"x-codegen-request-body-name": "body"
}
},
- "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses": {
+ "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -92677,7 +108174,7 @@
}
]
},
- "/apis/storage.k8s.io/v1alpha1/watch/volumeattributesclasses/{name}": {
+ "/apis/storage.k8s.io/v1beta1/watch/volumeattributesclasses/{name}": {
"parameters": [
{
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored.",
@@ -92801,14 +108298,16 @@
"consumes": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"description": "get available resources",
"operationId": "getAPIResources",
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -92869,6 +108368,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"in": "query",
@@ -92929,7 +108435,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93035,8 +108542,10 @@
"application/json",
"application/yaml",
"application/vnd.kubernetes.protobuf",
+ "application/cbor",
"application/json;stream=watch",
- "application/vnd.kubernetes.protobuf;stream=watch"
+ "application/vnd.kubernetes.protobuf;stream=watch",
+ "application/cbor-seq"
],
"responses": {
"200": {
@@ -93108,7 +108617,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93174,6 +108684,13 @@
"type": "integer",
"uniqueItems": true
},
+ {
+ "description": "if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it",
+ "in": "query",
+ "name": "ignoreStoreReadErrorWithClusterBreakingPotential",
+ "type": "boolean",
+ "uniqueItems": true
+ },
{
"description": "Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.",
"in": "query",
@@ -93192,7 +108709,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93231,7 +108749,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93276,7 +108795,8 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
"description": "partially update the specified StorageVersionMigration",
"operationId": "patchStorageVersionMigration",
@@ -93321,7 +108841,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93391,7 +108912,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93432,7 +108954,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93477,7 +109000,8 @@
"application/json-patch+json",
"application/merge-patch+json",
"application/strategic-merge-patch+json",
- "application/apply-patch+yaml"
+ "application/apply-patch+yaml",
+ "application/apply-patch+cbor"
],
"description": "partially update status of the specified StorageVersionMigration",
"operationId": "patchStorageVersionMigrationStatus",
@@ -93522,7 +109046,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93592,7 +109117,8 @@
"produces": [
"application/json",
"application/yaml",
- "application/vnd.kubernetes.protobuf"
+ "application/vnd.kubernetes.protobuf",
+ "application/cbor"
],
"responses": {
"200": {
@@ -93840,7 +109366,7 @@
"consumes": [
"application/json"
],
- "description": "get the code version",
+ "description": "get the version information for this server",
"operationId": "getCode",
"produces": [
"application/json"
@@ -93903,6 +109429,128 @@
}
}
},
+ "/apis/{group}/{version}/{resource_plural}": {
+ "parameters": [
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "If 'true', then the output is pretty printed.",
+ "name": "pretty",
+ "in": "query"
+ },
+ {
+ "name": "group",
+ "in": "path",
+ "required": true,
+ "description": "The custom resource's group name",
+ "type": "string"
+ },
+ {
+ "name": "version",
+ "in": "path",
+ "required": true,
+ "description": "The custom resource's version",
+ "type": "string"
+ },
+ {
+ "name": "resource_plural",
+ "in": "path",
+ "required": true,
+ "description": "The custom resource's plural name. For TPRs this would be lowercase plural kind.",
+ "type": "string"
+ }
+ ],
+ "get": {
+ "operationId": "listCustomObjectForAllNamespaces",
+ "description": "list or watch namespace scoped custom objects",
+ "tags": [
+ "custom_objects"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json",
+ "application/json;stream=watch"
+ ],
+ "schemes": [
+ "https"
+ ],
+ "parameters": [
+ {
+ "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.",
+ "in": "query",
+ "name": "allowWatchBookmarks",
+ "type": "boolean",
+ "uniqueItems": true
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.",
+ "name": "continue",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "name": "fieldSelector",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.",
+ "name": "labelSelector",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "integer",
+ "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.",
+ "name": "limit",
+ "in": "query"
+ },
+ {
+ "uniqueItems": true,
+ "type": "string",
+ "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
+ "name": "resourceVersion",
+ "in": "query"
+ },
+ {
+ "description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
+ "in": "query",
+ "name": "resourceVersionMatch",
+ "type": "string",
+ "uniqueItems": true
+ },
+ {
+ "uniqueItems": true,
+ "type": "integer",
+ "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.",
+ "name": "timeoutSeconds",
+ "in": "query"
+ },
+ {
+ "name": "watch",
+ "uniqueItems": true,
+ "type": "boolean",
+ "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications.",
+ "in": "query"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
"/apis/{group}/{version}/{plural}": {
"parameters": [
{
@@ -94387,6 +110035,13 @@
"name": "dryRun",
"type": "string",
"uniqueItems": true
+ },
+ {
+ "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.",
+ "in": "query",
+ "name": "fieldSelector",
+ "type": "string",
+ "uniqueItems": true
}
],
"responses": {
diff --git a/tests/E2E.Aot.Tests/MinikubeTests.cs b/tests/E2E.Aot.Tests/MinikubeTests.cs
index 2c4ca933b..a98f17b45 100644
--- a/tests/E2E.Aot.Tests/MinikubeTests.cs
+++ b/tests/E2E.Aot.Tests/MinikubeTests.cs
@@ -172,27 +172,33 @@ public async Task DatetimeFieldTest()
using var kubernetes = CreateClient();
await kubernetes.CoreV1.CreateNamespacedEventAsync(
- new Corev1Event(
- new V1ObjectReference(
- "v1alpha1",
- kind: "Test",
- name: "test",
- namespaceProperty: "default",
- resourceVersion: "1",
- uid: "1"),
- new V1ObjectMeta()
+ new Corev1Event
+ {
+ InvolvedObject = new V1ObjectReference
+ {
+ ApiVersion = "v1alpha1",
+ Kind = "Test",
+ Name = "test",
+ NamespaceProperty = "default",
+ ResourceVersion = "1",
+ Uid = "1",
+ },
+ Metadata = new V1ObjectMeta
{
GenerateName = "started-",
},
- action: "STARTED",
- type: "Normal",
- reason: "STARTED",
- message: "Started",
- eventTime: DateTime.Now,
- firstTimestamp: DateTime.Now,
- lastTimestamp: DateTime.Now,
- reportingComponent: "37",
- reportingInstance: "38"), "default").ConfigureAwait(false);
+ Action = "STARTED",
+ Type = "Normal",
+ Reason = "STARTED",
+ Message = "Started",
+ EventTime = DateTime.Now,
+ FirstTimestamp = DateTime.Now,
+ LastTimestamp = DateTime.Now,
+ ReportingComponent = "37",
+ ReportingInstance = "38",
+ },
+ "default"
+ ).ConfigureAwait(false);
}
[MinikubeFact]
@@ -370,6 +376,15 @@ async Task AssertMd5sumAsync(string file, byte[] orig)
}
}
+
+ [MinikubeFact]
+ public async Task VersionTestAsync()
+ {
+ using var client = CreateClient();
+ var version = await client.Version.GetCodeAsync().ConfigureAwait(false);
+ Assert.NotNull(version);
+ }
+
public static IKubernetes CreateClient()
{
return new Kubernetes(KubernetesClientConfiguration.BuildDefaultConfig());
diff --git a/tests/E2E.Tests/E2E.Tests.csproj b/tests/E2E.Tests/E2E.Tests.csproj
index f317c3729..2c4da8d5e 100644
--- a/tests/E2E.Tests/E2E.Tests.csproj
+++ b/tests/E2E.Tests/E2E.Tests.csproj
@@ -2,7 +2,7 @@
false
k8s.E2E
- net6.0;net8.0
+ net8.0;net9.0
diff --git a/tests/E2E.Tests/MinikubeTests.cs b/tests/E2E.Tests/MinikubeTests.cs
index fc5136d5a..8a7834a54 100644
--- a/tests/E2E.Tests/MinikubeTests.cs
+++ b/tests/E2E.Tests/MinikubeTests.cs
@@ -16,6 +16,7 @@
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
+using k8s.ClientSets;
using Xunit;
namespace k8s.E2E
@@ -223,13 +224,12 @@ public async Task WatcherIntegrationTest()
var started = new AsyncManualResetEvent();
var connectionClosed = new AsyncManualResetEvent();
- var watcher = kubernetes.BatchV1.ListNamespacedJobWithHttpMessagesAsync(
+ var watcher = kubernetes.BatchV1.WatchListNamespacedJob(
job.Metadata.NamespaceProperty,
fieldSelector: $"metadata.name={job.Metadata.Name}",
resourceVersion: job.Metadata.ResourceVersion,
timeoutSeconds: 30,
- watch: true).Watch(
- (type, source) =>
+ onEvent: (type, source) =>
{
Debug.WriteLine($"Watcher 1: {type}, {source}");
events.Add(new Tuple(type, source));
@@ -249,6 +249,86 @@ public async Task WatcherIntegrationTest()
new V1DeleteOptions() { PropagationPolicy = "Foreground" }).ConfigureAwait(false);
}
+ [MinikubeFact]
+ public async Task WatcherIntegrationTestAsyncEnumerable()
+ {
+ using var kubernetes = CreateClient();
+
+ var job = await kubernetes.BatchV1.CreateNamespacedJobAsync(
+ new V1Job()
+ {
+ ApiVersion = "batch/v1",
+ Kind = V1Job.KubeKind,
+ Metadata = new V1ObjectMeta() { Name = nameof(WatcherIntegrationTestAsyncEnumerable).ToLowerInvariant() },
+ Spec = new V1JobSpec()
+ {
+ Template = new V1PodTemplateSpec()
+ {
+ Spec = new V1PodSpec()
+ {
+ Containers = new List()
+ {
+ new V1Container()
+ {
+ Image = "ubuntu",
+ Name = "runner",
+ Command = new List() { "/bin/bash", "-c", "--" },
+ Args = new List()
+ {
+ "trap : TERM INT; sleep infinity & wait",
+ },
+ },
+ },
+ RestartPolicy = "Never",
+ },
+ },
+ },
+ },
+ "default").ConfigureAwait(false);
+
+ var events = new Collection>();
+
+ var started = new AsyncManualResetEvent();
+ var watchCompleted = new AsyncManualResetEvent();
+
+ // Start async enumerable watch in background task to mimic callback behavior
+ var watchTask = Task.Run(async () =>
+ {
+ try
+ {
+ await foreach (var (type, source) in kubernetes.BatchV1.WatchListNamespacedJobAsync(
+ job.Metadata.NamespaceProperty,
+ fieldSelector: $"metadata.name={job.Metadata.Name}",
+ resourceVersion: job.Metadata.ResourceVersion,
+ timeoutSeconds: 30).ConfigureAwait(false))
+ {
+ Debug.WriteLine($"AsyncEnumerable Watcher: {type}, {source}");
+ events.Add(new Tuple(type, source));
+ job = source;
+ started.Set();
+ }
+ }
+ catch (Exception ex)
+ {
+ Debug.WriteLine($"Watch exception: {ex.GetType().FullName}: {ex.Message}");
+ }
+ finally
+ {
+ watchCompleted.Set();
+ }
+ });
+
+ await started.WaitAsync().ConfigureAwait(false);
+
+ await Task.WhenAny(watchCompleted.WaitAsync(), Task.Delay(TimeSpan.FromMinutes(3))).ConfigureAwait(false);
+ Assert.True(watchCompleted.IsSet);
+
+ var st = await kubernetes.BatchV1.DeleteNamespacedJobAsync(
+ job.Metadata.Name,
+ job.Metadata.NamespaceProperty,
+ new V1DeleteOptions() { PropagationPolicy = "Foreground" }).ConfigureAwait(false);
+ }
+
[MinikubeFact]
public void LeaderIntegrationTest()
{
@@ -450,27 +530,33 @@ public async Task DatetimeFieldTest()
using var kubernetes = CreateClient();
await kubernetes.CoreV1.CreateNamespacedEventAsync(
- new Corev1Event(
- new V1ObjectReference(
- "v1alpha1",
- kind: "Test",
- name: "test",
- namespaceProperty: "default",
- resourceVersion: "1",
- uid: "1"),
- new V1ObjectMeta()
+ new Corev1Event
+ {
+ Metadata = new V1ObjectMeta
{
GenerateName = "started-",
+ NamespaceProperty = "default",
+ },
+ InvolvedObject = new V1ObjectReference
+ {
+ ApiVersion = "v1alpha1",
+ Kind = "Test",
+ Name = "test",
+ NamespaceProperty = "default",
+ ResourceVersion = "1",
+ Uid = "1",
},
- action: "STARTED",
- type: "Normal",
- reason: "STARTED",
- message: "Started",
- eventTime: DateTime.Now,
- firstTimestamp: DateTime.Now,
- lastTimestamp: DateTime.Now,
- reportingComponent: "37",
- reportingInstance: "38"), "default").ConfigureAwait(false);
+ Action = "STARTED",
+ Type = "Normal",
+ Reason = "STARTED",
+ Message = "Started",
+ EventTime = DateTime.Now,
+ FirstTimestamp = DateTime.Now,
+ LastTimestamp = DateTime.Now,
+ ReportingComponent = "37",
+ ReportingInstance = "38",
+ },
+ "default").ConfigureAwait(false);
}
[MinikubeFact]
@@ -584,6 +670,118 @@ await genericPods.CreateNamespacedAsync(
}
}
+ [MinikubeFact]
+ public async Task ClientSetTest()
+ {
+ var namespaceParameter = "default";
+ var podName = "k8scsharp-e2e-clientset-pod";
+
+ using var kubernetes = CreateClient();
+
+ var clientSet = new ClientSet((Kubernetes)kubernetes);
+ async Task Cleanup()
+ {
+ var pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ while (pods.Items.Any(p => p.Metadata.Name == podName))
+ {
+ try
+ {
+ await clientSet.CoreV1.Pod.DeleteAsync(podName, namespaceParameter).ConfigureAwait(false);
+ }
+ catch (HttpOperationException e)
+ {
+ if (e.Response.StatusCode == System.Net.HttpStatusCode.NotFound)
+ {
+ return;
+ }
+ }
+ }
+ }
+
+ try
+ {
+ await Cleanup().ConfigureAwait(false);
+
+ // create + list
+ {
+ await clientSet.CoreV1.Pod.CreateAsync(
+ new V1Pod()
+ {
+ Metadata = new V1ObjectMeta { Name = podName, Labels = new Dictionary { { "place", "holder" }, }, },
+ Spec = new V1PodSpec
+ {
+ Containers = new[] { new V1Container() { Name = "k8scsharp-e2e", Image = "nginx", }, },
+ },
+ },
+ namespaceParameter).ConfigureAwait(false);
+
+ var pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ Assert.Contains(pods.Items, p => p.Metadata.Name == podName);
+ }
+
+ // replace + get
+ {
+ var pod = await clientSet.CoreV1.Pod.GetAsync(podName, namespaceParameter).ConfigureAwait(false);
+ var old = JsonSerializer.SerializeToDocument(pod);
+
+ var newLabels = new Dictionary(pod.Metadata.Labels) { ["test"] = "clientset-test-jsonpatch" };
+ pod.Metadata.Labels = newLabels;
+
+ var expected = JsonSerializer.SerializeToDocument(pod);
+ var patch = old.CreatePatch(expected);
+
+ await clientSet.CoreV1.Pod
+ .PatchAsync(new V1Patch(patch, V1Patch.PatchType.JsonPatch), podName, namespaceParameter)
+ .ConfigureAwait(false);
+ var pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ Assert.Contains(pods.Items, p => p.Labels().Contains(new KeyValuePair("test", "clientset-test-jsonpatch")));
+ }
+
+ // replace + get
+ {
+ var pod = await clientSet.CoreV1.Pod.GetAsync(podName, namespaceParameter).ConfigureAwait(false);
+ pod.Spec.Containers[0].Image = "httpd";
+ await clientSet.CoreV1.Pod.UpdateAsync(pod, podName, namespaceParameter).ConfigureAwait(false);
+
+ pod = await clientSet.CoreV1.Pod.GetAsync(podName, namespaceParameter).ConfigureAwait(false);
+ Assert.Equal("httpd", pod.Spec.Containers[0].Image);
+ }
+
+ // delete + list
+ {
+ var pods = new V1PodList();
+ var retry = 5;
+ while (retry-- > 0)
+ {
+ try
+ {
+ await clientSet.CoreV1.Pod.DeleteAsync(podName, namespaceParameter).ConfigureAwait(false);
+ }
+ catch (HttpOperationException e)
+ {
+ if (e.Response.StatusCode == System.Net.HttpStatusCode.NotFound)
+ {
+ return;
+ }
+ }
+
+ pods = await clientSet.CoreV1.Pod.ListAsync(namespaceParameter).ConfigureAwait(false);
+ if (pods.Items.All(p => p.Metadata.Name != podName))
+ {
+ break;
+ }
+
+ await Task.Delay(TimeSpan.FromSeconds(2.5)).ConfigureAwait(false);
+ }
+
+ Assert.DoesNotContain(pods.Items, p => p.Metadata.Name == podName);
+ }
+ }
+ finally
+ {
+ await Cleanup().ConfigureAwait(false);
+ }
+ }
[MinikubeFact]
public async Task CopyToPodTestAsync()
@@ -760,6 +958,171 @@ async Task AssertMd5sumAsync(string file, byte[] orig)
}
}
+ [MinikubeFact]
+ public async Task V2HorizontalPodAutoscalerTestAsync()
+ {
+ var namespaceParameter = "default";
+ var deploymentName = "k8scsharp-e2e-hpa-deployment";
+ var hpaName = "k8scsharp-e2e-hpa";
+
+ using var client = CreateClient();
+
+ async Task CleanupAsync()
+ {
+ var deleteOptions = new V1DeleteOptions { PropagationPolicy = "Foreground" };
+
+ try
+ {
+ await client.AutoscalingV2.DeleteNamespacedHorizontalPodAutoscalerAsync(hpaName, namespaceParameter, deleteOptions).ConfigureAwait(false);
+ }
+ catch (HttpOperationException e)
+ {
+ if (e.Response?.StatusCode != System.Net.HttpStatusCode.NotFound)
+ {
+ throw;
+ }
+ }
+
+ try
+ {
+ await client.AppsV1.DeleteNamespacedDeploymentAsync(deploymentName, namespaceParameter, deleteOptions).ConfigureAwait(false);
+ }
+ catch (HttpOperationException e)
+ {
+ if (e.Response?.StatusCode != System.Net.HttpStatusCode.NotFound)
+ {
+ throw;
+ }
+ }
+
+ var attempts = 10;
+ while (attempts-- > 0)
+ {
+ var hpaList = await client.AutoscalingV2.ListNamespacedHorizontalPodAutoscalerAsync(namespaceParameter).ConfigureAwait(false);
+ var deploymentList = await client.AppsV1.ListNamespacedDeploymentAsync(namespaceParameter).ConfigureAwait(false);
+ if (hpaList.Items.All(item => item.Metadata.Name != hpaName) && deploymentList.Items.All(item => item.Metadata.Name != deploymentName))
+ {
+ break;
+ }
+
+ await Task.Delay(TimeSpan.FromSeconds(2)).ConfigureAwait(false);
+ }
+ }
+
+ try
+ {
+ await CleanupAsync().ConfigureAwait(false);
+
+ var labels = new Dictionary { ["app"] = "k8scsharp-hpa" };
+
+ await client.AppsV1.CreateNamespacedDeploymentAsync(
+ new V1Deployment
+ {
+ Metadata = new V1ObjectMeta { Name = deploymentName, Labels = new Dictionary(labels) },
+ Spec = new V1DeploymentSpec
+ {
+ Replicas = 1,
+ Selector = new V1LabelSelector { MatchLabels = new Dictionary(labels) },
+ Template = new V1PodTemplateSpec
+ {
+ Metadata = new V1ObjectMeta { Labels = new Dictionary(labels) },
+ Spec = new V1PodSpec
+ {
+ Containers = new[]
+ {
+ new V1Container
+ {
+ Name = "k8scsharp-hpa",
+ Image = "nginx",
+ Resources = new V1ResourceRequirements
+ {
+ Requests = new Dictionary
+ {
+ { "cpu", new ResourceQuantity("100m") },
+ { "memory", new ResourceQuantity("128Mi") },
+ },
+ Limits = new Dictionary
+ {
+ { "cpu", new ResourceQuantity("200m") },
+ { "memory", new ResourceQuantity("256Mi") },
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ },
+ namespaceParameter).ConfigureAwait(false);
+
+ var hpa = new V2HorizontalPodAutoscaler
+ {
+ Metadata = new V1ObjectMeta { Name = hpaName },
+ Spec = new V2HorizontalPodAutoscalerSpec
+ {
+ MinReplicas = 1,
+ MaxReplicas = 3,
+ ScaleTargetRef = new V2CrossVersionObjectReference
+ {
+ ApiVersion = "apps/v1",
+ Kind = "Deployment",
+ Name = deploymentName,
+ },
+ Metrics = new List
+ {
+ new V2MetricSpec
+ {
+ Type = "Resource",
+ Resource = new V2ResourceMetricSource
+ {
+ Name = "cpu",
+ Target = new V2MetricTarget
+ {
+ Type = "Utilization",
+ AverageUtilization = 50,
+ },
+ },
+ },
+ },
+ },
+ };
+
+ await client.AutoscalingV2.CreateNamespacedHorizontalPodAutoscalerAsync(hpa, namespaceParameter).ConfigureAwait(false);
+
+ var hpaList = await client.AutoscalingV2.ListNamespacedHorizontalPodAutoscalerAsync(namespaceParameter).ConfigureAwait(false);
+ Assert.Contains(hpaList.Items, item => item.Metadata.Name == hpaName);
+
+ var created = await client.AutoscalingV2.ReadNamespacedHorizontalPodAutoscalerAsync(hpaName, namespaceParameter).ConfigureAwait(false);
+ Assert.Equal(1, created.Spec.MinReplicas);
+
+ created.Spec.MinReplicas = 2;
+ await client.AutoscalingV2.ReplaceNamespacedHorizontalPodAutoscalerAsync(created, hpaName, namespaceParameter).ConfigureAwait(false);
+
+ var updated = await client.AutoscalingV2.ReadNamespacedHorizontalPodAutoscalerAsync(hpaName, namespaceParameter).ConfigureAwait(false);
+ Assert.Equal(2, updated.Spec.MinReplicas);
+
+ await client.AutoscalingV2.DeleteNamespacedHorizontalPodAutoscalerAsync(hpaName, namespaceParameter, new V1DeleteOptions { PropagationPolicy = "Foreground" }).ConfigureAwait(false);
+
+ var retries = 10;
+ while (retries-- > 0)
+ {
+ hpaList = await client.AutoscalingV2.ListNamespacedHorizontalPodAutoscalerAsync(namespaceParameter).ConfigureAwait(false);
+ if (hpaList.Items.All(item => item.Metadata.Name != hpaName))
+ {
+ break;
+ }
+
+ await Task.Delay(TimeSpan.FromSeconds(2)).ConfigureAwait(false);
+ }
+
+ Assert.DoesNotContain(hpaList.Items, item => item.Metadata.Name == hpaName);
+ }
+ finally
+ {
+ await CleanupAsync().ConfigureAwait(false);
+ }
+ }
+
public static IKubernetes CreateClient()
{
return new Kubernetes(KubernetesClientConfiguration.BuildDefaultConfig());
diff --git a/tests/Kubectl.Tests/Kubectl.Tests.csproj b/tests/Kubectl.Tests/Kubectl.Tests.csproj
index d24ff8993..b00ac0151 100644
--- a/tests/Kubectl.Tests/Kubectl.Tests.csproj
+++ b/tests/Kubectl.Tests/Kubectl.Tests.csproj
@@ -1,7 +1,7 @@
- net6.0;net8.0
+ net8.0;net9.0
enable
enable
false
diff --git a/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj b/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj
index 9304c2b41..52810130e 100644
--- a/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj
+++ b/tests/KubernetesClient.Classic.Tests/KubernetesClient.Classic.Tests.csproj
@@ -2,8 +2,8 @@
false
k8s.Tests
- net6.0;net8.0
- net6.0;net8.0;net48
+ net8.0;net9.0
+ net8.0;net9.0;net48
@@ -26,6 +26,10 @@
+
+
+
+
diff --git a/tests/KubernetesClient.Classic.Tests/SimpleTests.cs b/tests/KubernetesClient.Classic.Tests/SimpleTests.cs
index f0437defb..3e17a5854 100644
--- a/tests/KubernetesClient.Classic.Tests/SimpleTests.cs
+++ b/tests/KubernetesClient.Classic.Tests/SimpleTests.cs
@@ -7,7 +7,7 @@
namespace k8s.tests;
-public class BasicTests
+public class SimpleTests
{
// TODO: fail to setup asp.net core 6 on net48
private class DummyHttpServer : System.IDisposable
diff --git a/tests/KubernetesClient.Tests/AuthTests.cs b/tests/KubernetesClient.Tests/AuthTests.cs
index 3e9cf684d..c40f2668b 100644
--- a/tests/KubernetesClient.Tests/AuthTests.cs
+++ b/tests/KubernetesClient.Tests/AuthTests.cs
@@ -167,8 +167,8 @@ public void BasicAuth()
}
}
- // this test doesn't work on OSX and is inconsistent on windows
- [OperatingSystemDependentFact(Exclude = OperatingSystems.OSX | OperatingSystems.Windows)]
+ // this test doesn't work on OSX
+ [OperatingSystemDependentFact(Exclude = OperatingSystems.OSX)]
public void Cert()
{
var serverCertificateData = File.ReadAllText("assets/apiserver-pfx-data.txt");
@@ -188,10 +188,18 @@ public void Cert()
}
else
{
+#if NET9_0_OR_GREATER
+ serverCertificate = X509CertificateLoader.LoadPkcs12(Convert.FromBase64String(serverCertificateData), "");
+#else
serverCertificate = new X509Certificate2(Convert.FromBase64String(serverCertificateData), "");
+#endif
}
+#if NET9_0_OR_GREATER
+ var clientCertificate = X509CertificateLoader.LoadCertificate(Convert.FromBase64String(clientCertificateData));
+#else
var clientCertificate = new X509Certificate2(Convert.FromBase64String(clientCertificateData), "");
+#endif
var clientCertificateValidationCalled = false;
@@ -273,7 +281,7 @@ public void Cert()
}
}
- [OperatingSystemDependentFact(Exclude = OperatingSystems.OSX | OperatingSystems.Windows)]
+ [OperatingSystemDependentFact(Exclude = OperatingSystems.OSX)]
public void ExternalCertificate()
{
const string name = "testing_irrelevant";
@@ -294,10 +302,18 @@ public void ExternalCertificate()
}
else
{
+#if NET9_0_OR_GREATER
+ serverCertificate = X509CertificateLoader.LoadPkcs12(serverCertificateData, "");
+#else
serverCertificate = new X509Certificate2(serverCertificateData, "");
+#endif
}
+#if NET9_0_OR_GREATER
+ var clientCertificate = X509CertificateLoader.LoadCertificate(clientCertificateData);
+#else
var clientCertificate = new X509Certificate2(clientCertificateData, "");
+#endif
var clientCertificateValidationCalled = false;
diff --git a/tests/KubernetesClient.Tests/AutoMapperVersionConverterTests.cs b/tests/KubernetesClient.Tests/AutoMapperVersionConverterTests.cs
deleted file mode 100644
index e76a49f52..000000000
--- a/tests/KubernetesClient.Tests/AutoMapperVersionConverterTests.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-using AutoMapper;
-using FluentAssertions;
-using k8s.ModelConverter.AutoMapper;
-using k8s.Models;
-using Xunit;
-
-namespace k8s.Tests
-{
- public class AutoMapperVersionConverterTests
- {
- [Fact]
- public void ConfigurationsAreValid()
- {
- var config = new MapperConfiguration(VersionConverter.GetConfigurations);
- config.AssertConfigurationIsValid();
- }
-
- [Theory]
- [InlineData("v1", "v1beta1", 1)]
- [InlineData("v1beta1", "v1", -1)]
- [InlineData("v1beta1", "v1alpha1", 1)]
- [InlineData("v1alpha1", "v1beta1", -1)]
- [InlineData("v1", "v1alpha1", 1)]
- [InlineData("v2alpha1", "v1", 1)]
- [InlineData("v1", "v2alpha1", -1)]
- [InlineData("v1", "v1", 0)]
- [InlineData("v2", "v2", 0)]
- [InlineData("v1beta1", "v1beta1", 0)]
- [InlineData("v1beta2", "v1beta2", 0)]
- [InlineData("v2beta2", "v2beta2", 0)]
- public void KubernetesVersionCompare(string x, string y, int expected)
- {
- KubernetesVersionComparer.Instance.Compare(x, y).Should().Be(expected);
- }
-
- [Fact]
- public void ObjectMapAreValid()
- {
- ModelVersionConverter.Converter = AutoMapperModelVersionConverter.Instance;
- var from = new V2HorizontalPodAutoscalerSpec(); // TODO shuold auto load all objects
- from.MaxReplicas = 234;
- var to = (V1HorizontalPodAutoscalerSpec)from;
-
- Assert.Equal(from.MaxReplicas, to.MaxReplicas);
- }
- }
-}
diff --git a/tests/KubernetesClient.Tests/CertUtilsTests.cs b/tests/KubernetesClient.Tests/CertUtilsTests.cs
index b7e0e314b..674715462 100644
--- a/tests/KubernetesClient.Tests/CertUtilsTests.cs
+++ b/tests/KubernetesClient.Tests/CertUtilsTests.cs
@@ -85,8 +85,13 @@ public void LoadPemWithMultiCert()
{
var certCollection = CertUtils.LoadPemFileCert("assets/ca-bundle.crt");
+#if NET9_0_OR_GREATER
+ using var intermediateCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca-bundle-intermediate.crt");
+ using var rootCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca-bundle-root.crt");
+#else
using var intermediateCert = new X509Certificate2("assets/ca-bundle-intermediate.crt");
using var rootCert = new X509Certificate2("assets/ca-bundle-root.crt");
+#endif
Assert.Equal(2, certCollection.Count);
diff --git a/tests/KubernetesClient.Tests/CertificateValidationTests.cs b/tests/KubernetesClient.Tests/CertificateValidationTests.cs
index f0827b7a8..b883380d5 100644
--- a/tests/KubernetesClient.Tests/CertificateValidationTests.cs
+++ b/tests/KubernetesClient.Tests/CertificateValidationTests.cs
@@ -1,3 +1,5 @@
+using System;
+using System.Security.Cryptography;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using Xunit;
@@ -6,11 +8,71 @@ namespace k8s.Tests
{
public class CertificateValidationTests
{
+ [Fact]
+ public void ShouldRejectCertFromDifferentCA()
+ {
+ // Load our "trusted" Kubernetes CA
+ var trustedCaCert = CertUtils.LoadPemFileCert("assets/ca.crt");
+
+ // Generate a completely different CA and server cert in memory
+ using (var differentCA = CreateSelfSignedCA("CN=Different CA"))
+ using (var untrustedServerCert = CreateServerCert(differentCA, "CN=fake-server.com"))
+ {
+ var chain = new X509Chain();
+
+ // Pre-populate the chain like SSL validation would do
+ // This will likely succeed because we allow unknown CAs in the validation
+ chain.Build(untrustedServerCert);
+
+ var errors = SslPolicyErrors.RemoteCertificateChainErrors;
+
+ var result = Kubernetes.CertificateValidationCallBack(this, trustedCaCert, untrustedServerCert, chain, errors);
+
+ // This SHOULD be false because the server cert wasn't signed by our trusted CA
+ // But the current K8s validation logic might incorrectly return true
+ Assert.False(result, "Should reject certificates not signed by trusted CA");
+ }
+
+ // Cleanup
+ // differentCA.Dispose();
+ // untrustedServerCert.Dispose();
+ }
+
+ // Helper methods to create test certificates
+ private static X509Certificate2 CreateSelfSignedCA(string subject)
+ {
+ using (var rsa = RSA.Create(2048))
+ {
+ var req = new CertificateRequest(subject, rsa, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
+ req.CertificateExtensions.Add(new X509BasicConstraintsExtension(true, false, 0, true));
+ req.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.KeyCertSign | X509KeyUsageFlags.CrlSign, true));
+
+ return req.CreateSelfSigned(DateTimeOffset.UtcNow.AddDays(-1), DateTimeOffset.UtcNow.AddDays(365));
+ }
+ }
+
+ private static X509Certificate2 CreateServerCert(X509Certificate2 issuerCA, string subject)
+ {
+ using (var rsa = RSA.Create(2048))
+ {
+ var req = new CertificateRequest(subject, rsa, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1);
+ req.CertificateExtensions.Add(new X509BasicConstraintsExtension(false, false, 0, true));
+ req.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.DigitalSignature | X509KeyUsageFlags.KeyEncipherment, true));
+ req.CertificateExtensions.Add(new X509EnhancedKeyUsageExtension(new OidCollection { new Oid("1.3.6.1.5.5.7.3.1") }, true));
+
+ return req.Create(issuerCA, DateTimeOffset.UtcNow.AddDays(-1), DateTimeOffset.UtcNow.AddDays(90), new byte[] { 1, 2, 3, 4 });
+ }
+ }
+
[Fact]
public void ValidCert()
{
var caCert = CertUtils.LoadPemFileCert("assets/ca.crt");
+#if NET9_0_OR_GREATER
+ var testCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca.crt");
+#else
var testCert = new X509Certificate2("assets/ca.crt");
+#endif
var chain = new X509Chain();
var errors = SslPolicyErrors.RemoteCertificateChainErrors;
@@ -23,7 +85,11 @@ public void ValidCert()
public void InvalidCert()
{
var caCert = CertUtils.LoadPemFileCert("assets/ca.crt");
+#if NET9_0_OR_GREATER
+ var testCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca2.crt");
+#else
var testCert = new X509Certificate2("assets/ca2.crt");
+#endif
var chain = new X509Chain();
var errors = SslPolicyErrors.RemoteCertificateChainErrors;
@@ -52,7 +118,11 @@ public void ValidBundleCert()
public void InvalidBundleCert()
{
var caCert = CertUtils.LoadPemFileCert("assets/ca-bundle.crt");
+#if NET9_0_OR_GREATER
+ var testCert = X509CertificateLoader.LoadCertificateFromFile("assets/ca2.crt");
+#else
var testCert = new X509Certificate2("assets/ca2.crt");
+#endif
var chain = new X509Chain();
var errors = SslPolicyErrors.RemoteCertificateChainErrors;
diff --git a/tests/KubernetesClient.Tests/IntOrStringTests.cs b/tests/KubernetesClient.Tests/IntOrStringTests.cs
index 9fb3415a5..281308b1f 100644
--- a/tests/KubernetesClient.Tests/IntOrStringTests.cs
+++ b/tests/KubernetesClient.Tests/IntOrStringTests.cs
@@ -10,13 +10,13 @@ public void Serialize()
{
{
var v = 123;
- IntstrIntOrString intorstr = v;
+ IntOrString intorstr = v;
Assert.Equal("123", KubernetesJson.Serialize(intorstr));
}
{
- IntstrIntOrString intorstr = "12%";
+ IntOrString intorstr = "12%";
Assert.Equal("\"12%\"", KubernetesJson.Serialize(intorstr));
}
}
@@ -25,12 +25,12 @@ public void Serialize()
public void Deserialize()
{
{
- var v = KubernetesJson.Deserialize("1234");
+ var v = KubernetesJson.Deserialize("1234");
Assert.Equal("1234", v.Value);
}
{
- var v = KubernetesJson.Deserialize("\"12%\"");
+ var v = KubernetesJson.Deserialize("\"12%\"");
Assert.Equal("12%", v.Value);
}
}
diff --git a/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj b/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj
index 0a0f9f1ac..b6a22afaf 100644
--- a/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj
+++ b/tests/KubernetesClient.Tests/KubernetesClient.Tests.csproj
@@ -2,7 +2,7 @@
false
k8s.Tests
- net6.0;net8.0
+ net8.0;net9.0
@@ -13,6 +13,7 @@
+
@@ -32,6 +33,5 @@
-
diff --git a/tests/KubernetesClient.Tests/KubernetesJsonTests.cs b/tests/KubernetesClient.Tests/KubernetesJsonTests.cs
index f923fd083..785e38fea 100644
--- a/tests/KubernetesClient.Tests/KubernetesJsonTests.cs
+++ b/tests/KubernetesClient.Tests/KubernetesJsonTests.cs
@@ -1,5 +1,7 @@
using System;
+using System.Text.Json;
using Xunit;
+using k8s.Models;
namespace k8s.Tests;
@@ -116,4 +118,28 @@ type Time struct {
#endif
}
+
+ [Fact]
+ public void ReadWriteDatesJson()
+ {
+ var kManifest = """
+ {
+ "apiVersion": "v1",
+ "kind": "Secret",
+ "metadata": {
+ "creationTimestamp": "2025-09-03T05:15:53Z",
+ "name": "test-secret"
+ },
+ "type": "Opaque"
+ }
+ """;
+
+ var objFromJson = KubernetesJson.Deserialize(kManifest);
+ var jsonFromObj = KubernetesJson.Serialize(objFromJson);
+
+ // Format Json
+ var jsonFromObj2 = JsonSerializer.Serialize(JsonSerializer.Deserialize(jsonFromObj), new JsonSerializerOptions() { WriteIndented = true });
+
+ Assert.Equal(kManifest, jsonFromObj2);
+ }
}
diff --git a/tests/KubernetesClient.Tests/KubernetesYamlTests.cs b/tests/KubernetesClient.Tests/KubernetesYamlTests.cs
index 9f14f73af..95440e9e2 100644
--- a/tests/KubernetesClient.Tests/KubernetesYamlTests.cs
+++ b/tests/KubernetesClient.Tests/KubernetesYamlTests.cs
@@ -33,7 +33,7 @@ public void LoadAllFromString()
}
#pragma warning disable CA1812 // Class is used for YAML deserialization tests
- private class MyPod : V1Pod
+ private record MyPod : V1Pod
{
}
#pragma warning restore CA1812
@@ -531,7 +531,7 @@ public void SerializeIntOrString()
var obj = new V1Service
{
Kind = "Service",
- Metadata = new V1ObjectMeta(labels: labels, name: "test-svc"),
+ Metadata = new V1ObjectMeta { Name = "test-svc", Labels = labels },
ApiVersion = "v1",
Spec = new V1ServiceSpec
{
@@ -804,12 +804,12 @@ public void LoadSecret()
{
var kManifest = @"
apiVersion: v1
+data:
+ username: YlhrdFlYQnc=
+ password: TXprMU1qZ2tkbVJuTjBwaQ==
kind: Secret
metadata:
name: test-secret
-data:
- username: bXktYXBw
- password: Mzk1MjgkdmRnN0pi
";
var result = KubernetesYaml.Deserialize(kManifest, true);
@@ -817,6 +817,64 @@ public void LoadSecret()
Assert.Equal("Mzk1MjgkdmRnN0pi", Encoding.UTF8.GetString(result.Data["password"]));
}
+ [Fact]
+ public void WriteSecret()
+ {
+ var kManifest = """
+apiVersion: v1
+data:
+ username: YlhrdFlYQnc=
+ password: TXprMU1qZ2tkbVJuTjBwaQ==
+kind: Secret
+metadata:
+ name: test-secret
+""";
+
+ var result = KubernetesYaml.Deserialize(kManifest, true);
+ var yaml = KubernetesYaml.Serialize(result);
+
+ Assert.Equal(kManifest, yaml);
+ }
+
+ [Fact]
+ public void LoadConfigMap()
+ {
+ var kManifest = @"
+apiVersion: v1
+binaryData:
+ username: YlhrdFlYQnc=
+data:
+ password: Mzk1MjgkdmRnN0pi
+kind: ConfigMap
+metadata:
+ name: test-configmap
+";
+
+ var result = KubernetesYaml.Deserialize(kManifest, true);
+ Assert.Equal("bXktYXBw", Encoding.UTF8.GetString(result.BinaryData["username"]));
+ Assert.Equal("Mzk1MjgkdmRnN0pi", result.Data["password"]);
+ }
+
+ [Fact]
+ public void WriteConfigMap()
+ {
+ var kManifest = """
+apiVersion: v1
+binaryData:
+ username: YlhrdFlYQnc=
+data:
+ password: Mzk1MjgkdmRnN0pi
+kind: ConfigMap
+metadata:
+ name: test-configmap
+""";
+
+ var result = KubernetesYaml.Deserialize(kManifest, true);
+ var yaml = KubernetesYaml.Serialize(result);
+
+ Assert.Equal(kManifest, yaml);
+ }
+
[Fact]
public void DeserializeWithJsonPropertyName()
{
@@ -1112,5 +1170,148 @@ public void NoGlobalization()
CultureInfo.CurrentCulture = old;
}
}
+
+ [Fact]
+ public void ReadWriteDatesYaml()
+ {
+ var kManifest = """
+ apiVersion: v1
+ kind: Secret
+ metadata:
+ creationTimestamp: "2025-09-03T05:15:53Z"
+ name: test-secret
+ type: Opaque
+ """;
+
+ var objFromYaml = KubernetesYaml.Deserialize(kManifest, true);
+ var yamlFromObj = KubernetesYaml.Serialize(objFromYaml);
+
+ Assert.Equal(kManifest, yamlFromObj);
+ }
+
+
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Build", "CA1812:'KubernetesYamlTests.RfcTime' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)", Justification = "json type")]
+ private class RfcTime
+ {
+ public DateTime Rfc3339 { get; set; }
+ public DateTime Rfc3339micro { get; set; }
+ public DateTime Rfc3339nano { get; set; }
+ public DateTime Rfc3339nanolenient1 { get; set; }
+ public DateTime Rfc3339nanolenient2 { get; set; }
+ public DateTime Rfc3339nanolenient3 { get; set; }
+ public DateTime Rfc3339nanolenient4 { get; set; }
+ public DateTime Rfc3339nanolenient5 { get; set; }
+ public DateTime Rfc3339nanolenient6 { get; set; }
+ public DateTime Rfc3339nanolenient7 { get; set; }
+ public DateTime Rfc3339nanolenient8 { get; set; }
+ public DateTime Rfc3339nanolenient9 { get; set; }
+ }
+
+ [Fact]
+ public void RFC3339()
+ {
+ /* go code to generate the json https://go.dev/play/p/VL95pugm6o8
+
+ const RFC3339Micro = "2006-01-02T15:04:05.000000Z07:00"
+ const RFC3339Nano = "2006-01-02T15:04:05.000000000Z07:00"
+
+ func main() {
+ t := time.Now()
+ type Time struct {
+ RFC3339 string `json:"rfc3339"`
+ RFC3339Micro string `json:"rfc3339micro"`
+ RFC3339Nano string `json:"rfc3339nano"`
+
+ RFC3339NanoLenient1 string `json:"rfc3339nanolenient1"`
+ RFC3339NanoLenient2 string `json:"rfc3339nanolenient2"`
+ RFC3339NanoLenient3 string `json:"rfc3339nanolenient3"`
+ RFC3339NanoLenient4 string `json:"rfc3339nanolenient4"`
+ RFC3339NanoLenient5 string `json:"rfc3339nanolenient5"`
+ RFC3339NanoLenient6 string `json:"rfc3339nanolenient6"`
+ RFC3339NanoLenient7 string `json:"rfc3339nanolenient7"`
+ RFC3339NanoLenient8 string `json:"rfc3339nanolenient8"`
+ RFC3339NanoLenient9 string `json:"rfc3339nanolenient9"`
+ }
+ t1 := Time{
+ RFC3339: t.Add(45 * time.Minute).Add(12 * time.Second).Add(123456789 * time.Nanosecond).Format(time.RFC3339),
+ RFC3339Micro: t.Add(45 * time.Minute).Add(12 * time.Second).Add(123456789 * time.Nanosecond).Format(RFC3339Micro),
+ RFC3339Nano: t.Add(24 * time.Minute).Add(56 * time.Second).Add(123456789 * time.Nanosecond).Format(RFC3339Nano),
+
+ RFC3339NanoLenient1: t.Add(100000000 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient2: t.Add(120000000 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient3: t.Add(123000000 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient4: t.Add(123400000 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient5: t.Add(123450000 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient6: t.Add(123456000 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient7: t.Add(123456700 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient8: t.Add(123456780 * time.Nanosecond).Format(time.RFC3339Nano),
+ RFC3339NanoLenient9: t.Add(123456789 * time.Nanosecond).Format(time.RFC3339Nano),
+ }
+ b, err := json.Marshal(t1)
+ if err != nil {
+ fmt.Println("error:", err)
+ }
+ fmt.Println(string(b))
+ }
+ */
+
+ var yaml = """
+ rfc3339: '2009-11-10T23:45:12Z'
+ rfc3339micro: '2009-11-10T23:45:12.123456Z'
+ rfc3339nano: '2009-11-10T23:24:56.123456789Z'
+ rfc3339nanolenient1: '2009-11-10T23:00:00.1Z'
+ rfc3339nanolenient2: '2009-11-10T23:00:00.12Z'
+ rfc3339nanolenient3: '2009-11-10T23:00:00.123Z'
+ rfc3339nanolenient4: '2009-11-10T23:00:00.1234Z'
+ rfc3339nanolenient5: '2009-11-10T23:00:00.12345Z'
+ rfc3339nanolenient6: '2009-11-10T23:00:00.123456Z'
+ rfc3339nanolenient7: '2009-11-10T23:00:00.1234567Z'
+ rfc3339nanolenient8: '2009-11-10T23:00:00.12345678Z'
+ rfc3339nanolenient9: '2009-11-10T23:00:00.123456789Z'
+ """;
+
+ var t = KubernetesYaml.Deserialize(yaml);
+
+ Assert.Equal(new DateTime(2009, 11, 10, 23, 45, 12, DateTimeKind.Utc), t.Rfc3339);
+
+ Assert.Equal(2009, t.Rfc3339micro.Year);
+ Assert.Equal(11, t.Rfc3339micro.Month);
+ Assert.Equal(10, t.Rfc3339micro.Day);
+ Assert.Equal(23, t.Rfc3339micro.Hour);
+ Assert.Equal(45, t.Rfc3339micro.Minute);
+ Assert.Equal(12, t.Rfc3339micro.Second);
+ Assert.Equal(123, t.Rfc3339micro.Millisecond);
+
+ Assert.Equal(2009, t.Rfc3339nano.Year);
+ Assert.Equal(11, t.Rfc3339nano.Month);
+ Assert.Equal(10, t.Rfc3339nano.Day);
+ Assert.Equal(23, t.Rfc3339nano.Hour);
+ Assert.Equal(24, t.Rfc3339nano.Minute);
+ Assert.Equal(56, t.Rfc3339nano.Second);
+ Assert.Equal(123, t.Rfc3339nano.Millisecond);
+
+#if NET7_0_OR_GREATER
+ Assert.Equal(456, t.Rfc3339micro.Microsecond);
+ Assert.Equal(456, t.Rfc3339nano.Microsecond);
+ Assert.Equal(700, t.Rfc3339nano.Nanosecond);
+
+ Assert.Equal(100, t.Rfc3339nanolenient1.Millisecond);
+ Assert.Equal(120, t.Rfc3339nanolenient2.Millisecond);
+ Assert.Equal(123, t.Rfc3339nanolenient3.Millisecond);
+
+ Assert.Equal(400, t.Rfc3339nanolenient4.Microsecond);
+ Assert.Equal(450, t.Rfc3339nanolenient5.Microsecond);
+ Assert.Equal(456, t.Rfc3339nanolenient6.Microsecond);
+
+ Assert.Equal(456, t.Rfc3339nanolenient7.Microsecond);
+ Assert.Equal(456, t.Rfc3339nanolenient8.Microsecond);
+ Assert.Equal(456, t.Rfc3339nanolenient9.Microsecond);
+
+ Assert.Equal(700, t.Rfc3339nanolenient7.Nanosecond);
+ Assert.Equal(700, t.Rfc3339nanolenient8.Nanosecond);
+ Assert.Equal(700, t.Rfc3339nanolenient9.Nanosecond);
+#endif
+
+ }
}
}
diff --git a/tests/KubernetesClient.Tests/OidcAuthTests.cs b/tests/KubernetesClient.Tests/OidcAuthTests.cs
index 23eb7292d..c05a52f10 100644
--- a/tests/KubernetesClient.Tests/OidcAuthTests.cs
+++ b/tests/KubernetesClient.Tests/OidcAuthTests.cs
@@ -1,8 +1,13 @@
using FluentAssertions;
using k8s.Authentication;
using k8s.Exceptions;
+using System;
+using System.Net;
using System.Threading;
using System.Threading.Tasks;
+using WireMock.Server;
+using WireMock.RequestBuilders;
+using WireMock.ResponseBuilders;
using Xunit;
namespace k8s.Tests
@@ -53,5 +58,87 @@ public async Task TestOidcAuth()
Assert.StartsWith("Unable to refresh OIDC token.", e.Message);
}
}
+
+ [Fact]
+ public async Task TestOidcAuthWithWireMock()
+ {
+ // Arrange
+ var server = WireMockServer.Start();
+ var idpIssuerUrl = server.Url + "/token";
+ var clientId = "CLIENT_ID";
+ var clientSecret = "CLIENT_SECRET";
+ var expiredIdToken = "eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjB9.f37LFpIw_XIS5TZt3wdtEjjyCNshYy03lOWpyDViRM0";
+ var refreshToken = "REFRESH_TOKEN";
+ var newIdToken = "NEW_ID_TOKEN";
+ var expiresIn = 3600;
+
+ // Simulate a successful token refresh response
+ server
+ .Given(Request.Create().WithPath("/token").UsingPost())
+ .RespondWith(Response.Create()
+ .WithStatusCode(HttpStatusCode.OK)
+ .WithBody($@"{{
+ ""id_token"": ""{newIdToken}"",
+ ""refresh_token"": ""{refreshToken}"",
+ ""expires_in"": {expiresIn}
+ }}"));
+
+ var auth = new OidcTokenProvider(clientId, clientSecret, idpIssuerUrl, expiredIdToken, refreshToken);
+
+ // Act
+ var result = await auth.GetAuthenticationHeaderAsync(CancellationToken.None);
+
+ // Assert
+ result.Scheme.Should().Be("Bearer");
+ result.Parameter.Should().Be(newIdToken);
+
+ // Verify that the expiry is set correctly
+ var expectedExpiry = DateTimeOffset.UtcNow.AddSeconds(expiresIn);
+ var actualExpiry = typeof(OidcTokenProvider)
+ .GetField("_expiry", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)
+ ?.GetValue(auth) as DateTimeOffset?;
+ actualExpiry.Should().NotBeNull();
+ actualExpiry.Value.Should().BeCloseTo(expectedExpiry, precision: TimeSpan.FromSeconds(5));
+
+ // Verify that the refresh token is set correctly
+ var actualRefreshToken = typeof(OidcTokenProvider)
+ .GetField("_refreshToken", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)
+ ?.GetValue(auth) as string;
+ actualRefreshToken.Should().NotBeNull();
+ actualRefreshToken.Should().Be(refreshToken);
+
+ // Stop the server
+ server.Stop();
+ }
+
+ [Fact]
+ public async Task TestOidcAuthWithServerError()
+ {
+ // Arrange
+ var server = WireMockServer.Start();
+ var idpIssuerUrl = server.Url + "/token";
+ var clientId = "CLIENT_ID";
+ var clientSecret = "CLIENT_SECRET";
+ var expiredIdToken = "eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjB9.f37LFpIw_XIS5TZt3wdtEjjyCNshYy03lOWpyDViRM0";
+ var refreshToken = "REFRESH_TOKEN";
+
+ // Simulate a server error response
+ server
+ .Given(Request.Create().WithPath("/token").UsingPost())
+ .RespondWith(Response.Create()
+ .WithStatusCode(HttpStatusCode.InternalServerError)
+ .WithBody(@"{ ""error"": ""server_error"" }"));
+
+ var auth = new OidcTokenProvider(clientId, clientSecret, idpIssuerUrl, expiredIdToken, refreshToken);
+
+ // Act & Assert
+ var exception = await Assert.ThrowsAsync(
+ () => auth.GetAuthenticationHeaderAsync(CancellationToken.None));
+ exception.Message.Should().StartWith("Unable to refresh OIDC token.");
+ exception.InnerException.Message.Should().Contain("500");
+
+ // Stop the server
+ server.Stop();
+ }
}
}
diff --git a/tests/KubernetesClient.Tests/PodExecTests.cs b/tests/KubernetesClient.Tests/PodExecTests.cs
index 5a6276e8d..597be477b 100644
--- a/tests/KubernetesClient.Tests/PodExecTests.cs
+++ b/tests/KubernetesClient.Tests/PodExecTests.cs
@@ -66,7 +66,7 @@ public async Task ExecDefaultContainerStdOut()
false,
false,
true,
- webSocketSubProtol: WebSocketProtocol.ChannelWebSocketProtocol,
+ webSocketSubProtocol: WebSocketProtocol.ChannelWebSocketProtocol,
cancellationToken: TestCancellation).ConfigureAwait(true);
Assert.Equal(
WebSocketProtocol.ChannelWebSocketProtocol,
diff --git a/tests/KubernetesClient.Tests/WatchTests.cs b/tests/KubernetesClient.Tests/WatchTests.cs
index 3b3a695d3..b3f151106 100644
--- a/tests/KubernetesClient.Tests/WatchTests.cs
+++ b/tests/KubernetesClient.Tests/WatchTests.cs
@@ -54,24 +54,29 @@ public async Task CannotWatch()
var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
// did not pass watch param
- var listTask = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
var onErrorCalled = false;
- using (listTask.Watch((type, item) => { }, e => { onErrorCalled = true; }))
+ using (var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) => { },
+ onError: e => { onErrorCalled = true; }))
{
await Task.Delay(TimeSpan.FromSeconds(1)).ConfigureAwait(true); // delay for onerror to be called
}
Assert.True(onErrorCalled);
-
// server did not response line by line
await Assert.ThrowsAnyAsync(() =>
{
- return client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
+ using (var testWatcher = client.CoreV1.WatchListNamespacedPod(
+ "default"))
+ {
+ return Task.CompletedTask;
+ }
// this line did not throw
- // listTask.Watch((type, item) => { });
+ // using (var testWatcher = client.CoreV1.WatchListNamespacedPod("default", onEvent: (type, item) => { }))
}).ConfigureAwait(true);
}
}
@@ -93,8 +98,7 @@ public async Task AsyncWatcher()
var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
- var listTask = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true);
- using (listTask.Watch((type, item) => { eventsReceived.Set(); }))
+ using (var watcher = client.CoreV1.WatchListNamespacedPod("default", onEvent: (type, item) => { eventsReceived.Set(); }))
{
// here watcher is ready to use, but http server has not responsed yet.
created.Set();
@@ -134,27 +138,26 @@ public async Task SurviveBadLine()
{
var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
- var listTask = await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).ConfigureAwait(true);
-
var events = new HashSet();
var errors = 0;
- var watcher = listTask.Watch(
- (type, item) =>
+ var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) =>
{
testOutput.WriteLine($"Watcher received '{type}' event.");
events.Add(type);
eventsReceived.Signal();
},
- error =>
+ onError: error =>
{
testOutput.WriteLine($"Watcher received '{error.GetType().FullName}' error.");
errors += 1;
eventsReceived.Signal();
},
- connectionClosed.Set);
+ onClosed: connectionClosed.Set);
// wait server yields all events
await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
@@ -195,17 +198,16 @@ public async Task DisposeWatch()
{
var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
- var listTask = await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).ConfigureAwait(true);
-
var events = new HashSet();
- var watcher = listTask.Watch(
- (type, item) =>
+ var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) =>
{
events.Add(type);
eventsReceived.Signal();
},
- error =>
+ onError: error =>
{
testOutput.WriteLine($"Watcher received '{error.GetType().FullName}' error.");
},
@@ -255,27 +257,26 @@ public async Task WatchAllEvents()
{
var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
- var listTask = await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).ConfigureAwait(true);
-
var events = new HashSet();
var errors = 0;
- var watcher = listTask.Watch(
- (type, item) =>
+ var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) =>
{
testOutput.WriteLine($"Watcher received '{type}' event.");
events.Add(type);
eventsReceived.Signal();
},
- error =>
+ onError: error =>
{
testOutput.WriteLine($"Watcher received '{error.GetType().FullName}' error.");
errors += 1;
eventsReceived.Signal();
},
- waitForClosed.Set);
+ onClosed: waitForClosed.Set);
// wait server yields all events
await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
@@ -324,27 +325,26 @@ public async Task WatchEventsWithTimeout()
{
var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
- var listTask = await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).ConfigureAwait(true);
-
var events = new HashSet();
var errors = 0;
- var watcher = listTask.Watch(
- (type, item) =>
+ var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) =>
{
testOutput.WriteLine($"Watcher received '{type}' event.");
events.Add(type);
eventsReceived.Signal();
},
- error =>
+ onError: error =>
{
testOutput.WriteLine($"Watcher received '{error.GetType().FullName}' error.");
errors += 1;
eventsReceived.Signal();
},
- connectionClosed.Set);
+ onClosed: connectionClosed.Set);
// wait server yields all events
await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
@@ -386,18 +386,17 @@ public async Task WatchServerDisconnect()
{
var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
- var listTask = await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).ConfigureAwait(true);
-
waitForException.Set();
Watcher watcher;
- watcher = listTask.Watch(
- (type, item) => { },
- e =>
+ watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) => { },
+ onError: e =>
{
exceptionCatched = e;
exceptionReceived.Set();
},
- waitForClosed.Set);
+ onClosed: waitForClosed.Set);
// wait server down
await Task.WhenAny(exceptionReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
@@ -456,12 +455,11 @@ public async Task TestWatchWithHandlers()
Assert.False(handler1.Called);
Assert.False(handler2.Called);
- var listTask = await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).ConfigureAwait(true);
-
var events = new HashSet();
- var watcher = listTask.Watch(
- (type, item) =>
+ var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) =>
{
events.Add(type);
eventsReceived.Signal();
@@ -507,7 +505,9 @@ public async Task DirectWatchAllEvents()
var events = new HashSet();
var errors = 0;
- var watcher = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", fieldSelector: $"metadata.name=${"myPod"}", watch: true).Watch(
+ var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ fieldSelector: $"metadata.name=${"myPod"}",
onEvent:
(type, item) =>
{
@@ -568,7 +568,7 @@ await Assert.ThrowsAsync(async () =>
Host = server.Uri.ToString(),
HttpClientTimeout = TimeSpan.FromSeconds(5),
});
- await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default").ConfigureAwait(true);
+ await client.CoreV1.ListNamespacedPodAsync("default").ConfigureAwait(true);
}).ConfigureAwait(true);
// cts
@@ -580,7 +580,7 @@ await Assert.ThrowsAsync(async () =>
{
Host = server.Uri.ToString(),
});
- await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", cancellationToken: cts.Token).ConfigureAwait(true);
+ await client.CoreV1.ListNamespacedPodAsync("default", cancellationToken: cts.Token).ConfigureAwait(true);
}).ConfigureAwait(true);
}
@@ -608,7 +608,9 @@ public async Task DirectWatchEventsWithTimeout()
var events = new HashSet();
var errors = 0;
- var watcher = client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", fieldSelector: $"metadata.name=${"myPod"}", watch: true).Watch(
+ var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ fieldSelector: $"metadata.name=${"myPod"}",
onEvent:
(type, item) =>
{
@@ -656,7 +658,6 @@ public async Task WatchShouldCancelAfterRequested()
httpContext.Response.StatusCode = 200;
await httpContext.Response.Body.FlushAsync().ConfigureAwait(true);
await Task.Delay(TimeSpan.FromSeconds(5)).ConfigureAwait(true); // The default timeout is 100 seconds
-
return true;
}, resp: ""))
{
@@ -667,8 +668,10 @@ public async Task WatchShouldCancelAfterRequested()
await Assert.ThrowsAnyAsync(async () =>
{
- await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true,
- cancellationToken: cts.Token).ConfigureAwait(true);
+ using var watcher = client.CoreV1.WatchListNamespacedPod(
+ "default",
+ onEvent: (type, item) => { });
+ await Task.Delay(TimeSpan.FromSeconds(5), cts.Token).ConfigureAwait(true);
}).ConfigureAwait(true);
}
}
@@ -742,8 +745,288 @@ public async Task MustHttp2VersionSet()
new KubernetesClientConfiguration { Host = server.Uri.ToString() }, handler);
Assert.Null(handler.Version);
- await client.CoreV1.ListNamespacedPodWithHttpMessagesAsync("default", watch: true).ConfigureAwait(true);
+ using var watcher = client.CoreV1.WatchListNamespacedPod("default", onEvent: (type, item) => { });
Assert.Equal(HttpVersion.Version20, handler.Version);
+ await Task.CompletedTask.ConfigureAwait(true);
+ }
+
+ [Fact]
+ public async Task AsyncEnumerableWatchAllEvents()
+ {
+ var eventsReceived = new AsyncCountdownEvent(4);
+ var serverShutdown = new AsyncManualResetEvent();
+ var watchCompleted = new AsyncManualResetEvent();
+
+ using (var server = new MockKubeApiServer(testOutput, async httpContext =>
+ {
+ await WriteStreamLine(httpContext, MockAddedEventStreamLine).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockDeletedStreamLine).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockModifiedStreamLine).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockErrorStreamLine).ConfigureAwait(true);
+
+ // make server alive, cannot set to int.max as of it would block response
+ await serverShutdown.WaitAsync().ConfigureAwait(true);
+ return false;
+ }))
+ {
+ var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
+
+ var events = new HashSet();
+ var errors = 0;
+
+ // Start async enumerable watch in background task
+ var watchTask = Task.Run(async () =>
+ {
+ try
+ {
+ await foreach (var (type, item) in client.CoreV1.WatchListNamespacedPodAsync("default").ConfigureAwait(false))
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher received '{type}' event.");
+ events.Add(type);
+ eventsReceived.Signal();
+
+ // Break when we have all expected events
+ if (events.Count >= 4)
+ {
+ break;
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher received exception: {ex.GetType().FullName}");
+ errors++;
+ eventsReceived.Signal();
+ }
+ finally
+ {
+ watchCompleted.Set();
+ }
+ });
+
+ // wait server yields all events
+ await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
+
+ Assert.True(
+ eventsReceived.CurrentCount == 0,
+ "Timed out waiting for all events / errors to be received.");
+
+ Assert.Contains(WatchEventType.Added, events);
+ Assert.Contains(WatchEventType.Deleted, events);
+ Assert.Contains(WatchEventType.Modified, events);
+ Assert.Contains(WatchEventType.Error, events);
+
+ Assert.Equal(0, errors);
+
+ serverShutdown.Set();
+
+ await Task.WhenAny(watchCompleted.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
+ Assert.True(watchCompleted.IsSet);
+ }
+ }
+
+ [Fact]
+ public async Task AsyncEnumerableWatchWithCancellation()
+ {
+ var eventsReceived = new AsyncCountdownEvent(2);
+ var serverShutdown = new AsyncManualResetEvent();
+
+ using (var server = new MockKubeApiServer(testOutput, async httpContext =>
+ {
+ await WriteStreamLine(httpContext, MockAddedEventStreamLine).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockModifiedStreamLine).ConfigureAwait(true);
+
+ // Keep server alive
+ await serverShutdown.WaitAsync().ConfigureAwait(true);
+ return false;
+ }))
+ {
+ var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
+
+ var events = new HashSet();
+ var cts = new CancellationTokenSource();
+
+ var watchTask = Task.Run(async () =>
+ {
+ try
+ {
+ await foreach (var (type, item) in client.CoreV1.WatchListNamespacedPodAsync("default", cancellationToken: cts.Token).ConfigureAwait(false))
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher received '{type}' event.");
+ events.Add(type);
+ eventsReceived.Signal();
+ }
+ }
+ catch (OperationCanceledException)
+ {
+ testOutput.WriteLine("AsyncEnumerable Watcher was cancelled as expected.");
+ }
+ });
+
+ // Wait for some events to be received
+ await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
+
+ Assert.True(
+ eventsReceived.CurrentCount == 0,
+ "Timed out waiting for events to be received.");
+
+ Assert.Contains(WatchEventType.Added, events);
+ Assert.Contains(WatchEventType.Modified, events);
+
+ // Cancel the watch
+ cts.Cancel();
+
+ // Wait for watch task to complete
+ await Task.WhenAny(watchTask, Task.Delay(TimeSpan.FromSeconds(5))).ConfigureAwait(true);
+ Assert.True(watchTask.IsCompletedSuccessfully || watchTask.IsCanceled);
+
+ serverShutdown.Set();
+ }
+ }
+
+ [Fact]
+ public async Task AsyncEnumerableWatchWithFieldSelector()
+ {
+ var eventsReceived = new AsyncCountdownEvent(3);
+ var serverShutdown = new AsyncManualResetEvent();
+ var watchCompleted = new AsyncManualResetEvent();
+
+ using (var server = new MockKubeApiServer(testOutput, async httpContext =>
+ {
+ await WriteStreamLine(httpContext, MockAddedEventStreamLine).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockDeletedStreamLine).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockModifiedStreamLine).ConfigureAwait(true);
+
+ await serverShutdown.WaitAsync().ConfigureAwait(true);
+ return false;
+ }))
+ {
+ var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
+
+ var events = new List<(WatchEventType, V1Pod)>();
+
+ var watchTask = Task.Run(async () =>
+ {
+ try
+ {
+ await foreach (var (type, item) in client.CoreV1.WatchListNamespacedPodAsync(
+ "default",
+ fieldSelector: $"metadata.name={"testPod"}").ConfigureAwait(false))
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher received '{type}' event for pod '{item?.Metadata?.Name}'.");
+ events.Add((type, item));
+ eventsReceived.Signal();
+
+ if (events.Count >= 3)
+ {
+ break;
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher received exception: {ex.GetType().FullName}");
+ }
+ finally
+ {
+ watchCompleted.Set();
+ }
+ });
+
+ // Wait for events
+ await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
+
+ Assert.True(
+ eventsReceived.CurrentCount == 0,
+ "Timed out waiting for all events to be received.");
+
+ Assert.Equal(3, events.Count);
+ Assert.Contains(events, e => e.Item1 == WatchEventType.Added);
+ Assert.Contains(events, e => e.Item1 == WatchEventType.Deleted);
+ Assert.Contains(events, e => e.Item1 == WatchEventType.Modified);
+
+ serverShutdown.Set();
+
+ await Task.WhenAny(watchCompleted.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
+ Assert.True(watchCompleted.IsSet);
+ }
+ }
+
+ [Fact]
+ public async Task AsyncEnumerableWatchErrorHandling()
+ {
+ var eventsReceived = new AsyncCountdownEvent(3);
+ var serverShutdown = new AsyncManualResetEvent();
+ var watchCompleted = new AsyncManualResetEvent();
+ var errorReceived = new AsyncManualResetEvent();
+
+ using (var server = new MockKubeApiServer(testOutput, async httpContext =>
+ {
+ await WriteStreamLine(httpContext, MockKubeApiServer.MockPodResponse).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockBadStreamLine).ConfigureAwait(true);
+ await WriteStreamLine(httpContext, MockAddedEventStreamLine).ConfigureAwait(true);
+
+ await serverShutdown.WaitAsync().ConfigureAwait(true);
+ return false;
+ }))
+ {
+ var client = new Kubernetes(new KubernetesClientConfiguration { Host = server.Uri.ToString() });
+
+ var events = new List<(WatchEventType, V1Pod)>();
+ var errorCaught = false;
+
+ var watchTask = Task.Run(async () =>
+ {
+ try
+ {
+ await foreach (var (type, item) in client.CoreV1.WatchListNamespacedPodAsync(
+ "default",
+ onError: ex =>
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher onError called: {ex.GetType().FullName}");
+ errorCaught = true;
+ errorReceived.Set();
+ eventsReceived.Signal();
+ }).ConfigureAwait(false))
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher received '{type}' event.");
+ events.Add((type, item));
+ eventsReceived.Signal();
+
+ // Expect some valid events plus error handling
+ if (events.Count >= 2)
+ {
+ break;
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ testOutput.WriteLine($"AsyncEnumerable Watcher caught exception: {ex.GetType().FullName}");
+ }
+ finally
+ {
+ watchCompleted.Set();
+ }
+ });
+
+ // Wait for events and errors
+ await Task.WhenAny(eventsReceived.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
+
+ Assert.True(
+ eventsReceived.CurrentCount == 0,
+ "Timed out waiting for events and errors to be received.");
+
+ // Should have received at least one valid event and one error
+ Assert.True(events.Count >= 1, "Should have received at least one valid event");
+ Assert.True(errorCaught, "Should have caught parsing error");
+ Assert.True(errorReceived.IsSet, "Error callback should have been called");
+
+ serverShutdown.Set();
+
+ await Task.WhenAny(watchCompleted.WaitAsync(), Task.Delay(TestTimeout)).ConfigureAwait(true);
+ Assert.True(watchCompleted.IsSet);
+ }
}
}
}
diff --git a/tests/KubernetesClient.Tests/assets/apiserver-pfx-data.txt b/tests/KubernetesClient.Tests/assets/apiserver-pfx-data.txt
index 6b3dc9421..90c23f6fe 100644
--- a/tests/KubernetesClient.Tests/assets/apiserver-pfx-data.txt
+++ b/tests/KubernetesClient.Tests/assets/apiserver-pfx-data.txt
@@ -1 +1 @@
-MIIJ0QIBAzCCCZcGCSqGSIb3DQEHAaCCCYgEggmEMIIJgDCCBDcGCSqGSIb3DQEHBqCCBCgwggQkAgEAMIIEHQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQIDg04E/7JxmoCAggAgIID8PFBaCkboT+QvuNj253i5qcyj5f9lFXB5xJLdvzpWycsz7RFLHco8kwIfmfZsCW3FW0uzp7ScHiW8o2uzhjBreXw63tQ4mzILf9bMFQflJOqwJN4YSbGnFNOHE0hU9M4FWhlA7q9mw36DBq1vIf/UfTeaGzvBPbzdXqKbuenbYzYVcWlTloAI+aXHNdZTtMbKmnNJIBFqYRilE9K44B5eerWaIcq4yaw01K+VUeCogg7LeWUtLUrES32sTQVC+UxHpT00wxfXMqlfN3n+Obk5EPOkWJMBSzTHRunWUkUiJktnabw+KKGU1cox7VJ16K5bL5sF7FgB7m6UWfmagT1bSKXCyEjgJjEmAJEInFVDgKdR9xNp+nsE6YXpgaWBcA6nT7fc+cdDsCz/x/jGV8O/8UKGl2YOtjR1hDwOSl7xJuODvSbYKNHGCByMg++6FS8mD/jcd/EXiP3zqoVZekHnZVzLquhdGHSz7RoYHIdzFCCYiuenUIfuIdBgc6oGbK2JQvBT1PfqyQVlEaZPlrNXCttg5WbT/cA96w/i0YG1MY+XVENw2R+MxIUTEmzOUIYftjUsCbuF9jZ9BTmZE/61/DisZbco3GE0AXa+u5alnhZN9Ne47KttxyZ9JwmfweZdCpigwGWFv7/OOESRlV/0fw5NAsh2zCD5VsVa+GlDdrOAkkMx4u4DZQE6MDu0K5NRQEyACZqijj8rjNtS9D35dsNQE0b8S+M/+mMA8hlXXlrfzjHydd3ClEtwKKKFDOcvJPfjjO43touucwY1JO0+Us8zTSEQus6X9IejoViUyjJwUAp1Me9WMRynbo+GvOJIsDan4aEH4BiWBsSgLk5EYJ2oB+Q7A+REC5qw1GL3ID4fdQv+evcRrHt8hd3H8Ydo6BKrgW78EHY+roDyUBP94X08urrXs2vY87xiPA18KvVke+1dr5vhnQaYFJr5IQJRHthf8VPrtVJ6lVfiOnnKRtrfGyTFrscKU9uIAaC/vB4pvkWx5nq5ziL894P0hpah01oTVnxZP9tcQCOQpn1mOo5X0xXkx3cxouH/GmiCvRdZ/eUljl1WgjcXj/hOiaBr7dWl6HarDEwCXFTL4B111cHvgToYy53xpFHTsMOQKOEZZjL6IBLPnz/93g6mNp3Xq1GsdyKEVvfk6D5TG5lWrdJA1uimUrM793eLMScmLitOS7y8MUlAq4JagaDSgsib/QpbiekubsjZvek44mBcLsZGH8QJduNHm4Erh0oInlZBUQCFREHjDTyo5pMqWIn5HcMT4TnXsrBpYWr29j+v3WRnjHNu2JPcMkFwRLzOXPGJePAjb870DXxv4nicyUIBjCCBUEGCSqGSIb3DQEHAaCCBTIEggUuMIIFKjCCBSYGCyqGSIb3DQEMCgECoIIE7jCCBOowHAYKKoZIhvcNAQwBAzAOBAh5BRg9uwW8AgICCAAEggTIFskQ0+ZLeEy7NwLjVIM1U9k7HpQE3VuN2ujhzukjx0QPvEsiUom67Lx/U2eU8pZGwtd9xCX+bon+lGG8bEKq6xylq48JnnZSN1Z8+Dkue7Yx1oiWB/AdLmf3mZnAK/UPbUv/NTj+OUMyM4QxAWIfxiWaahpCiRSPhFPIeISK0KwiYPp7R6GCKy8XHJ33qej+Gn271WxGVkyW0+YQetqG3ZMzjIm9XEH16p08f6r4a2ZCvwvg6MJs+h7nSZHxRhM/2HiaFi6pN4yQEgrY3AggPpUEAr4eMN/lJBx22f6qym/9lWpxPoWYbt+84zLg5fnldEXW1s1nqYsAveClxSSiivNUAmG2hocXq8fah+4wBUIXvawRZi/iCAD+lSOV5epqA1QbUuqKKSwwG/Dh5upC8kqX72Q2vrqySPeUaWbWFURnxF0f9G09pCbXmgpIuiXfQvq4s4XBpQMoOAZBviIqFHdbO4I7nLlZ1XwREFkVc3sYtMd9efHiXxiaqJqSDYlI0yrGS3JSmyv5+ViA9dwp4EgQC0HeSdk7khaTEY9/xZMyZLFEkLM6DkCX0+cgGvFRUmPx199rbTlqlLv6N83VZ5Kb1cew3goKhYatE7HBM8dlK12ZXI6IdweK0hFpONd/oHVu7x7+WpRdJtPW/dt+ofKz3NsbrWqY2FxNH5Pjvl5lTVa8ZM/QqxVatMbFNSF3p1MmtvVtiO6XYBiaamLa3Xtc7wNjvffMru4zgJxI4Z7lyWo2Lz4C+BtiKdE8wkv/dkMrx/pi7bvcOALJ+Pid3J9pqm324zNH5fSm+ERlrTBxIoaqgrvVrBrikPqcc4R/m+arXVo1dQ91L0hpoLWBASgdVdLumJSqA8yLMXNk5O92UquFmYcvIdw3I3++UYVQTn1GA5cJokWOVx8WZXpL3HNRy8GLgwYrDXhrNiNIkm+jUM9bUdkziupjQNN9/z4LAFD/8dytE3vrB8CMKnCrbGU4qqOjwAlZxMuQUlBYqV9970iOpd8fhvmGKttNe/KcZSczUCInX7aMMZfcNyub2PGBgtKlKQCGb3n4mtwpgvwLpIgIDO2RyU0kCnLe5OeMa0kC9uOu1gqP0w/Jsw8fpuFEHir0e2JWu7uFzWrMbOMDwccI3a8ffubVV1ByqR6Gf4j9u0ddbBdrmzQ/fwkpFCS2oGsXzKj5SmjkTJXgQ0CEHXea7bm6uXi1LkqZ5A81Ut9rNUtJgF16ZTj097DDyGHw1oDm261vwLFMVtFQH1dZufdFbrsfsoR0uVFikTCMp4BluoFNsCtYnWcJH2ILpyop+fqb+1Ge2xuEJVjXrOfvQemOEFy77fK+JPMzi8e34bY1PnztCq89uFvCfFasXDz67fwKTo5DH5gSX3aE2PYO1ae3flEHh9EcvwhVmDnYvnYFtyRXoNivsw4mbKgDpyDvv1GQ6M256fAUh/4ZKmpxXJmauuSEUTExRLkRbBoAFtaY/qB7JPe2iv7SaYao8c/j4AZyJcZeHuFkkZxlG1rAgSp/oMotFJamvnCRqUUjJmeSjf2a/Ap2mVWNw6WMvX1UEidbuBEqRr9VpkXDTxVwA/B8c/irSkC21CCAkphD275bK0N+O+Ct/dYn6jQ31/xaHRGVTo6UMSUwIwYJKoZIhvcNAQkVMRYEFHc/MYQ8A3iMIXp/IMCCNpbOYmzhMDEwITAJBgUrDgMCGgUABBQwyicWfYXqjCwbCHLrpoYFB7BVXgQIwNsSAgUl+jACAggA
+MIIKrwIBAzCCCmUGCSqGSIb3DQEHAaCCClYEggpSMIIKTjCCBMIGCSqGSIb3DQEHBqCCBLMwggSvAgEAMIIEqAYJKoZIhvcNAQcBMFcGCSqGSIb3DQEFDTBKMCkGCSqGSIb3DQEFDDAcBAjbPrySm6q0mQICCAAwDAYIKoZIhvcNAgkFADAdBglghkgBZQMEASoEEM9BNxZMDdpBnCwaLDm1IMiAggRA+1wQfDfSdFAIBSyC2MrVngHy0ymw+aBBARoLXbIWUodLY6fNYv8p7eUAQrB93IH6tRkmUSuviv1X46yne41BuryhA3bx9thkaPS5mNIw/FPwSpUSPSQ8uSDrSyw8TbOvyRw/pCF5hIXwSSF4kitbb9VntfFO+2K66rnrjzdtv214wpnhVv10bfRqWu/qeUVwOF7W7RD0LD54E/yeZXixDqMBuljsYXSnAojRb6rwgk296jPMX+mdr/Fwwug6G1nxAviDRY+L9fCDXrHrqrmkTtzfd8ntkahbTUQafpyNvPVlQJ8CUPLHbJCsf0R8jCNcuKl8DGyHAxh7j7PdQBBSTgFUPN2TQIx1noCvqijrcRqYlMizrVsL/2tUI4dtpoioOEtYDr4MhTXDY36PcxYr/iyZxmbIJOJwj1tXfWzJL8TN1jGUcj6RkB0n36y/SGxzHcfbqVlIEwkpeD3M0AsrTWgh3xq4vBuxSrg/QGsAdTcubFtcOJW8kWYbdUu/4dNhCl+3Jp6IEMTWGWborFp30iGsYK9dWZzEkCNXtwwEfdJBjZWqmovxsudlLzJTY3geyaakaxyzcvfKok1GZ0PjH3pArc9+Zd1pzuJTwgyHnJq6imEOiUXJnqFcAUqp2H+SIPVJRvHvLC3NP4lvwSeBtujkttb9fqpiSJkNPGxpFRtAQJW461Yj9Vpe0i5LMZUkj7p3hBK7SGhj5FLnFFSCVFQZvSDtJbzdliqldpAvjMpbCHyP+6ETAns2MCtQOUDAxtb1FR45IDL9BEza9paL7bz6mTjnBmfA61doDZWsNGLzuF0MzpU6nkg2snxJSjEOF7T9M54w6HH2U5U9q397/MUW2IUsmDO4X6bMLcDhA+6DOQ5L9ijYUmaoHn+PLDORnmrgwTIV86ynCQR9KHHc52TVwpwjon+fpAIvjtcWYEciWnm7Mz5/58qdJtkiwPCC7ZIjAi7aPjtvw3BHP588BM6Y33I/Wr5t/q0AW44KvRpyvs7HjvGgYgPEyucx2L5xgqsOLrhVVdaomruLg1OuxtjUQmIIkSujxY+UyzvFfYUKGtt0oWpM/HcwTqC+6MPOFwAKaOVhZ7+Tp/1ckJvc/D0plOcsiloVmkHQtAJOjD0kkfPeShlzZft16l2J0GBAHNVGZAXNQ6b1GmE8WmqQDM7j0E5Oe6IEs43cVQWrEgcjZAjE53dZ2tK+3L/TWp/0065r9bjnpxAQAnXijDpywOdXXEPVyUaT1ETsTec9RAiumAffyfBUXffkQpik/io1IUy1bJP+5oe/4HYDFGSyBJkcvkQnMQz+5zFlBpAhMzVDz5POUpi/cZWC62j6l6Y4NPlhPPPdQ+G8xMAXXoJshMwRYwvu6AIb82Szm47cptiDbdgsu/trWBjKDg3Ra3jvB7vQcWanRkQMIb4umYKWVXUpt3dYowfkevL7vBH+lykwggWEBgkqhkiG9w0BBwGgggV1BIIFcTCCBW0wggVpBgsqhkiG9w0BDAoBAqCCBTEwggUtMFcGCSqGSIb3DQEFDTBKMCkGCSqGSIb3DQEFDDAcBAhwWTufZVDutAICCAAwDAYIKoZIhvcNAgkFADAdBglghkgBZQMEASoEEIGbNya097lkuTjUQSK0Mc8EggTQTfRRtizCyFACsJnMr8WTC3NAGaJZ0AwaxMkjnlZ5h/Snp9iRblw4Wrt8y/HQu2dJmuQAtTMySSP3Cy8+OdCmhbpUslu9D7u9UqDhEs+X8FMaaAqWpYbytYW8WEVczK+/t51JAJ63M5hOq3rij1DRbvn2arAqdfqL9h6CcjInvYtyG83R9ImW7dIlP3KFAk4lgY280NPWJwNPEH5EgEQ+JLC3phdBsoctMyYlLHr3svbeyFOOVQKtbRFG6DEJ/8SxJ7u6fnrLpUZg73xNpUiJ8mw9/6Hjfy9LyQZLnnaGVQfu2/JPM5Y8M8YGNYjwXjMwD4kDHqfQrHSIS/Ee+MT7Qlf+T+vmh7Vk7JP0cIOE2ccYwLTnM0VNiCytoGGDc06eO8+yLWjs/8fExy3T8x9J2zYFQC4Bmc1P+hWWXrb3GeTk0C0Hx6W5hJSBrtHQDDVUEduFoC1xuQSCHQSrL8SEViYNiU3uJuGP2p2yUmMGThwoR1Xs5MtFgKIk3Ymxwc6Nx8x8slzLLNPv9HXOni8v7I0ojjiVEpwwDwuTn8TiAmeekTBUF6EDN7mvFIIX44BX8R7UIqlPNQksUUSr2Xew/VOvpnxFFsH+MWbLGjNTzmvUgBTA6Ie4488wilpfCGVrz9AdN37RHJ/1uJEQ93yPGjm1zxsNPGJrHFbNVxqMErHVX00PqPIVjiSE1q2fjeZ2en2nF/eFQ/HhCwWaKQOY0QchMNz4FmwjUlJmCeRK8ceidXK298dIhkvmz+/198+6IwdJx5l6oTvJ7PS3TdIMF4STho9h3xB1T88bj64p1FT8lmhrwJjLW4bMMdlk3VqwvZO9eFtCdRgi29Buv/MStfJC+hsci8kUwPXDq/SVe+YgOYDDigz8vBQEO29nW67TqOoQ/fE+rive8ySpOAhwev4OZvpu85zh760KohNN9yqGodXcMf4pDCQs924BHkAGEVbWxQWj2UpjZqyAPSyOfXilBKGyXYDRiTRXIByk06Q6Fd562qfv/5ndh35YpFVwVYiEEiEFMKNFm/rrdCFN7olQmnGFcZDU06/G52EzmHGjIlIq8qhawuOg0EJKmlQItlskoY8ECbEH0v1F/RqyoqL/hQwmSB2QcAesqTLGr4dPwWUhvgNFs+FhoPYErfl65z824y24wJWmsSBiQ0Qm23E+7w6yRjy3uBipOsaKGQJtKki+Hr9SYOZy0RFza2NehPnX7QO4mdVq49dMvGDt7SRAigX3LI4UOO8h/8aeJT+/Kmvjk8/1q4/RZaeNkjTp9N/OR2jyCavSeQ5Cb10lSH8kUmoEwvWSyINu6B0RyFGhFhKFW1hMNzpvtnQZ8QSsaW+FRyZFFVY/eNY+yvfMErvT/fb2cWwEW+Bp9z5wdqRNZ6g82hK0J0VbtKihp2x3vZ7Bb57IFnn7ThSdnwHFfAxvgcml0JT84K/xA/qcqXAt6HdjKCwKssI5o/TlsMWCDpYBCm42T+uqkJaJV2IIZhklmHpy/O6n2g85fvaK7ThdZaS/eP+pTOd7cpbASivBa9JOMh0/RmX15WwvUBxhxscDqnFAn2LrlZO365jdlk4O7GGRo0pVEYDFeaLRHBUsSiDk7D/PiXmNoFMYx+YpoNHqOBaKPutruPVs/+zIv5cxJTAjBgkqhkiG9w0BCRUxFgQUq+lI2vgMl/PzXf+ABPLLx6qUdzcwQTAxMA0GCWCGSAFlAwQCAQUABCBojCacRBlEa2Tcqzfx7fMvRqKSvoXUPVoYy3oq3T3vwAQIZ3hV/pQsPicCAggA
\ No newline at end of file
diff --git a/version.json b/version.json
index 14dc6ff83..5b93fcb35 100644
--- a/version.json
+++ b/version.json
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
- "version": "14.0",
+ "version": "18.0",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/tags/v\\d+\\.\\d+\\.\\d+"