diff --git a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java index aae7db3043..ab6d05ee5b 100644 --- a/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java +++ b/kubernetes-model-generator/kubernetes-model-core/src/generated/java/io/fabric8/kubernetes/api/model/DeleteOptions.java @@ -30,6 +30,7 @@ "kind", "dryRun", "gracePeriodSeconds", + "ignoreStoreReadErrorWithClusterBreakingPotential", "orphanDependents", "preconditions", "propagationPolicy" @@ -62,6 +63,8 @@ public class DeleteOptions implements Editable, Kubernetes private List dryRun = new ArrayList<>(); @JsonProperty("gracePeriodSeconds") private Long gracePeriodSeconds; + @JsonProperty("ignoreStoreReadErrorWithClusterBreakingPotential") + private Boolean ignoreStoreReadErrorWithClusterBreakingPotential; /** * * (Required) @@ -85,11 +88,12 @@ public class DeleteOptions implements Editable, Kubernetes public DeleteOptions() { } - public DeleteOptions(String apiVersion, List dryRun, Long gracePeriodSeconds, String kind, Boolean orphanDependents, Preconditions preconditions, String propagationPolicy) { + public DeleteOptions(String apiVersion, List dryRun, Long gracePeriodSeconds, Boolean ignoreStoreReadErrorWithClusterBreakingPotential, String kind, Boolean orphanDependents, Preconditions preconditions, String propagationPolicy) { super(); this.apiVersion = apiVersion; this.dryRun = dryRun; this.gracePeriodSeconds = gracePeriodSeconds; + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; this.kind = kind; this.orphanDependents = orphanDependents; this.preconditions = preconditions; @@ -137,6 +141,16 @@ public void setGracePeriodSeconds(Long gracePeriodSeconds) { this.gracePeriodSeconds = gracePeriodSeconds; } + @JsonProperty("ignoreStoreReadErrorWithClusterBreakingPotential") + public Boolean getIgnoreStoreReadErrorWithClusterBreakingPotential() { + return ignoreStoreReadErrorWithClusterBreakingPotential; + } + + @JsonProperty("ignoreStoreReadErrorWithClusterBreakingPotential") + public void setIgnoreStoreReadErrorWithClusterBreakingPotential(Boolean ignoreStoreReadErrorWithClusterBreakingPotential) { + this.ignoreStoreReadErrorWithClusterBreakingPotential = ignoreStoreReadErrorWithClusterBreakingPotential; + } + /** * * (Required) diff --git a/kubernetes-model-generator/openapi/generator/go.mod b/kubernetes-model-generator/openapi/generator/go.mod index c521a22617..66b392695c 100644 --- a/kubernetes-model-generator/openapi/generator/go.mod +++ b/kubernetes-model-generator/openapi/generator/go.mod @@ -1,6 +1,6 @@ module github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator -go 1.23 +go 1.23.0 toolchain go1.23.1 @@ -34,11 +34,11 @@ require ( istio.io/client-go v1.24.1 k8s.io/api v0.31.4 k8s.io/apiextensions-apiserver v0.31.4 - k8s.io/apimachinery v0.31.4 + k8s.io/apimachinery v0.32.0 k8s.io/autoscaler/vertical-pod-autoscaler v1.2.1 k8s.io/client-go v12.0.0+incompatible k8s.io/gengo/v2 v2.0.0-20240911193312-2b36238f13e9 - k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 + k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f k8s.io/metrics v0.31.4 knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 knative.dev/eventing v0.43.3 @@ -173,7 +173,7 @@ require ( github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/nutanix-cloud-native/prism-go-client v0.3.4 // indirect - github.com/onsi/gomega v1.34.2 // indirect + github.com/onsi/gomega v1.35.1 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/openshift/custom-resource-status v1.1.3-0.20220503160415-f2fdb4999d87 // indirect github.com/operator-framework/operator-registry v1.47.0 // indirect @@ -206,7 +206,7 @@ require ( golang.org/x/sys v0.28.0 // indirect golang.org/x/term v0.27.0 // indirect golang.org/x/text v0.21.0 // indirect - golang.org/x/time v0.6.0 // indirect + golang.org/x/time v0.7.0 // indirect golang.org/x/tools v0.26.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/api v0.198.0 // indirect @@ -219,11 +219,11 @@ require ( gopkg.in/yaml.v3 v3.0.1 // indirect istio.io/api v1.24.0-rc.0.0.20241101200753-9397ebf09c3a // indirect k8s.io/klog/v2 v2.130.1 // indirect - k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect + k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 // indirect knative.dev/pkg v0.0.0-20241021183759-9b9d535af5ad // indirect sigs.k8s.io/controller-runtime v0.19.0 // indirect - sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect + sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect sigs.k8s.io/kustomize/kyaml v0.18.1 // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect + sigs.k8s.io/structured-merge-diff/v4 v4.4.2 // indirect sigs.k8s.io/yaml v1.4.0 // indirect ) diff --git a/kubernetes-model-generator/openapi/generator/go.sum b/kubernetes-model-generator/openapi/generator/go.sum index 3937514bae..460d88b6cb 100644 --- a/kubernetes-model-generator/openapi/generator/go.sum +++ b/kubernetes-model-generator/openapi/generator/go.sum @@ -566,8 +566,8 @@ github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw= github.com/google/pprof v0.0.0-20240525223248-4bfdf5a9a2af/go.mod h1:K1liHPHnj73Fdn/EKuT8nrFqBihUSKXoLYU0BuatOYo= -github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 h1:5iH8iuqE5apketRbSFBy+X1V0o+l+8NF1avt4HWl7cA= -github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= +github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db h1:097atOisP2aRj7vFgYQBbFN4U4JNXUNYpxael3UzMyo= +github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -865,8 +865,8 @@ github.com/onsi/ginkgo/v2 v2.13.0/go.mod h1:TE309ZR8s5FsKKpuB1YAQYBzCaAfUgatB/xl github.com/onsi/ginkgo/v2 v2.17.1/go.mod h1:llBI3WDLL9Z6taip6f33H76YcWtJv+7R3HigUjbIBOs= github.com/onsi/ginkgo/v2 v2.17.2/go.mod h1:nP2DPOQoNsQmsVyv5rDA8JkXQoCs6goXIvr/PRJ1eCc= github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To= -github.com/onsi/ginkgo/v2 v2.20.2 h1:7NVCeyIWROIAheY21RLS+3j2bb52W0W82tkberYytp4= -github.com/onsi/ginkgo/v2 v2.20.2/go.mod h1:K9gyxPIlb+aIvnZ8bd9Ak+YP18w3APlR+5coaZoE2ag= +github.com/onsi/ginkgo/v2 v2.21.0 h1:7rg/4f3rB88pb5obDgNZrNHrQ4e6WpjonchcpuBRnZM= +github.com/onsi/ginkgo/v2 v2.21.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= @@ -894,8 +894,8 @@ github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3ev github.com/onsi/gomega v1.30.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8PPpoQ= github.com/onsi/gomega v1.33.0/go.mod h1:+925n5YtiFsLzzafLUHzVMBpvvRAzrydIBiSIxjX3wY= github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0= -github.com/onsi/gomega v1.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8= -github.com/onsi/gomega v1.34.2/go.mod h1:v1xfxRgk0KIsG+QOdm7p8UosrOzPYRo60fd3B/1Dukc= +github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4= +github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug= @@ -1645,8 +1645,8 @@ golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxb golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= -golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= +golang.org/x/time v0.7.0 h1:ntUhktv3OPE6TgYxXWv9vKvUSJyIFJlyohwbkEwPrKQ= +golang.org/x/time v0.7.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -1971,8 +1971,8 @@ k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0 k8s.io/apimachinery v0.23.3/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM= k8s.io/apimachinery v0.24.3/go.mod h1:82Bi4sCzVBdpYjyI4jY6aHX+YCUchUIrZrXKedjd2UM= k8s.io/apimachinery v0.31.1/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= -k8s.io/apimachinery v0.31.4 h1:8xjE2C4CzhYVm9DGf60yohpNUh5AEBnPxCryPBECmlM= -k8s.io/apimachinery v0.31.4/go.mod h1:rsPdaZJfTfLsNJSQzNHQvYoTmxhoOEofxtOsF3rtsMo= +k8s.io/apimachinery v0.32.0 h1:cFSE7N3rmEEtv4ei5X6DaJPHHX0C+upp+v5lVPiEwpg= +k8s.io/apimachinery v0.32.0/go.mod h1:GpHVgxoKlTxClKcteaeuF1Ul/lDVb74KpZcxcmLDElE= k8s.io/apiserver v0.21.4/go.mod h1:SErUuFBBPZUcD2nsUU8hItxoYheqyYr2o/pCINEPW8g= k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ= k8s.io/apiserver v0.31.4 h1:JbtnTaXVYEAYIHJil6Wd74Wif9sd8jVcBw84kwEmp7o= @@ -2014,8 +2014,8 @@ k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lV k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk= k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42/go.mod h1:Z/45zLw8lUo4wdiUkI+v/ImEGAvu3WatcZl3lPMR4Rk= k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340/go.mod h1:yD4MZYeKMBwQKVht279WycxKyM84kkAx2DPrTXaeb98= -k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38 h1:1dWzkmJrrprYvjGwh9kEUxmcUV/CtNU8QM7h1FLWQOo= -k8s.io/kube-openapi v0.0.0-20240903163716-9e1beecbcb38/go.mod h1:coRQXBK9NxO98XUv3ZD6AK3xzHCxV6+b7lrquKwaKzA= +k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f h1:GA7//TjRY9yWGy1poLzYYJJ4JRdzg3+O6e8I+e+8T5Y= +k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f/go.mod h1:R/HEjbvWI0qdfb8viZUeVZm0X6IZnxAydC7YU42CMw4= k8s.io/metrics v0.31.4 h1:u6uCAUk+aYTf2RG1TCkjYJeGRlkTk24hIJammD7Fg/4= k8s.io/metrics v0.31.4/go.mod h1:3S5m9eXJGhgEqH45t6f5pq7dbqpTbgcJvMfk9iEWlFM= k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= @@ -2026,8 +2026,8 @@ k8s.io/utils v0.0.0-20211208161948-7d6a63dca704/go.mod h1:jPW/WVKK9YHAvNhRxK0md/ k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= k8s.io/utils v0.0.0-20240711033017-18e509b52bc8/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 h1:MDF6h2H/h4tbzmtIKTuctcwZmY0tY9mD9fNT47QO6HI= -k8s.io/utils v0.0.0-20240921022957-49e7df575cb6/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= +k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro= +k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= knative.dev/caching v0.0.0-20241022012359-41bbaf964d16 h1:vQ0y0mO1ALdOd/FPiw7gf1415mf41aWnLOVOtTr2/jQ= knative.dev/caching v0.0.0-20241022012359-41bbaf964d16/go.mod h1:qOvjasSUI+GyF4hsqJmIomblcgjkLzJhng8/zk0B9J4= knative.dev/eventing v0.28.0/go.mod h1:zxoB37kQxEkfCvKA7wZuHOPYInz6SFJzrhmG9IAd/iY= @@ -2084,8 +2084,9 @@ sigs.k8s.io/gateway-api v1.2.1 h1:fZZ/+RyRb+Y5tGkwxFKuYuSRQHu9dZtbjenblleOLHM= sigs.k8s.io/gateway-api v1.2.1/go.mod h1:EpNfEXNjiYfUJypf0eZ0P5iXA9ekSGWaS1WgPaM42X0= sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs= sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= +sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 h1:/Rv+M11QRah1itp8VhT6HoVx1Ray9eB4DBr+K+/sCJ8= +sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3/go.mod h1:18nIHnGi6636UCz6m8i4DhaJ65T6EruyzmoQqI2BVDo= sigs.k8s.io/kustomize/api v0.18.0 h1:hTzp67k+3NEVInwz5BHyzc9rGxIauoXferXyjv5lWPo= sigs.k8s.io/kustomize/api v0.18.0/go.mod h1:f8isXnX+8b+SGLHQ6yO4JG1rdkZlvhaCf/uZbLVMb0U= sigs.k8s.io/kustomize/kyaml v0.18.1 h1:WvBo56Wzw3fjS+7vBjN6TeivvpbW9GmRaWZ9CIVmt4E= @@ -2095,8 +2096,9 @@ sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= -sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4= sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= +sigs.k8s.io/structured-merge-diff/v4 v4.4.2 h1:MdmvkGuXi/8io6ixD5wud3vOLwc1rj0aNqRlpuvjmwA= +sigs.k8s.io/structured-merge-diff/v4 v4.4.2/go.mod h1:N8f93tFZh9U6vpxwRArLiikrE5/2tiu1w1AGfACIGE4= sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/kubernetes-model-generator/openapi/schemas/api-machinery-extra.json b/kubernetes-model-generator/openapi/schemas/api-machinery-extra.json index 14d5f0dd44..4589880106 100644 --- a/kubernetes-model-generator/openapi/schemas/api-machinery-extra.json +++ b/kubernetes-model-generator/openapi/schemas/api-machinery-extra.json @@ -1 +1 @@ -{"components":{"schemas":{"io.k8s.api.core.v1.PodExecOptions":{"properties":{"apiVersion":{"type":"string"},"command":{"items":{"type":"string"},"type":"array"},"container":{"type":"string"},"kind":{"type":"string"},"stderr":{"type":"boolean"},"stdin":{"type":"boolean"},"stdout":{"type":"boolean"},"tty":{"type":"boolean"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"fieldManager":{"type":"string"},"fieldValidation":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"gracePeriodSeconds":{"format":"int64","type":"integer"},"kind":{"type":"string"},"orphanDependents":{"type":"boolean"},"preconditions":{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions"},"propagationPolicy":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.GetOptions":{"properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"resourceVersion":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.GroupKind":{"properties":{"group":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.ListOptions":{"properties":{"allowWatchBookmarks":{"type":"boolean"},"apiVersion":{"type":"string"},"continue":{"type":"string"},"fieldSelector":{"type":"string"},"kind":{"type":"string"},"labelSelector":{"type":"string"},"limit":{"format":"int64","type":"integer"},"resourceVersion":{"type":"string"},"resourceVersionMatch":{"type":"string"},"sendInitialEvents":{"type":"boolean"},"timeoutSeconds":{"format":"int64","type":"integer"},"watch":{"type":"boolean"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime":{"properties":{"Time":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.PatchOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"fieldManager":{"type":"string"},"fieldValidation":{"type":"string"},"force":{"type":"boolean"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions":{"properties":{"resourceVersion":{"type":"string"},"uid":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.RootPaths":{"properties":{"paths":{"items":{"type":"string"},"type":"array"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.TypeMeta":{"properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.UpdateOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"fieldManager":{"type":"string"},"fieldValidation":{"type":"string"},"kind":{"type":"string"}},"type":"object"}}},"info":{"title":"api-machinery-extra","version":"0.0.0"},"openapi":"3.0.0","paths":{}} \ No newline at end of file +{"components":{"schemas":{"io.k8s.api.core.v1.PodExecOptions":{"properties":{"apiVersion":{"type":"string"},"command":{"items":{"type":"string"},"type":"array"},"container":{"type":"string"},"kind":{"type":"string"},"stderr":{"type":"boolean"},"stdin":{"type":"boolean"},"stdout":{"type":"boolean"},"tty":{"type":"boolean"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.CreateOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"fieldManager":{"type":"string"},"fieldValidation":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"gracePeriodSeconds":{"format":"int64","type":"integer"},"ignoreStoreReadErrorWithClusterBreakingPotential":{"type":"boolean"},"kind":{"type":"string"},"orphanDependents":{"type":"boolean"},"preconditions":{"$ref":"#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions"},"propagationPolicy":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.GetOptions":{"properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"resourceVersion":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.GroupKind":{"properties":{"group":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.ListOptions":{"properties":{"allowWatchBookmarks":{"type":"boolean"},"apiVersion":{"type":"string"},"continue":{"type":"string"},"fieldSelector":{"type":"string"},"kind":{"type":"string"},"labelSelector":{"type":"string"},"limit":{"format":"int64","type":"integer"},"resourceVersion":{"type":"string"},"resourceVersionMatch":{"type":"string"},"sendInitialEvents":{"type":"boolean"},"timeoutSeconds":{"format":"int64","type":"integer"},"watch":{"type":"boolean"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime":{"properties":{"Time":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.PatchOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"fieldManager":{"type":"string"},"fieldValidation":{"type":"string"},"force":{"type":"boolean"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions":{"properties":{"resourceVersion":{"type":"string"},"uid":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.RootPaths":{"properties":{"paths":{"items":{"type":"string"},"type":"array"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.TypeMeta":{"properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"}},"type":"object"},"io.k8s.apimachinery.pkg.apis.meta.v1.UpdateOptions":{"properties":{"apiVersion":{"type":"string"},"dryRun":{"items":{"type":"string"},"type":"array"},"fieldManager":{"type":"string"},"fieldValidation":{"type":"string"},"kind":{"type":"string"}},"type":"object"}}},"info":{"title":"api-machinery-extra","version":"0.0.0"},"openapi":"3.0.0","paths":{}} \ No newline at end of file diff --git a/kubernetes-model-generator/openapi/schemas/io.open-cluster-management.json b/kubernetes-model-generator/openapi/schemas/io.open-cluster-management.json index 42af77e7b0..efc2231d2f 100644 --- a/kubernetes-model-generator/openapi/schemas/io.open-cluster-management.json +++ b/kubernetes-model-generator/openapi/schemas/io.open-cluster-management.json @@ -10006,6 +10006,10 @@ "type": "integer", "format": "int64" }, + "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" diff --git a/kubernetes-model-generator/openapi/schemas/openshift-generated.json b/kubernetes-model-generator/openapi/schemas/openshift-generated.json index 286e87f34a..178c9f3cfa 100644 --- a/kubernetes-model-generator/openapi/schemas/openshift-generated.json +++ b/kubernetes-model-generator/openapi/schemas/openshift-generated.json @@ -56860,6 +56860,10 @@ "type": "integer", "format": "int64" }, + "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"