diff --git a/docs/data-sources/apps_daemon_set_v1_manifest.md b/docs/data-sources/apps_daemon_set_v1_manifest.md
index 17ee8d7ac..7229bc5d1 100644
--- a/docs/data-sources/apps_daemon_set_v1_manifest.md
+++ b/docs/data-sources/apps_daemon_set_v1_manifest.md
@@ -2540,16 +2540,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--template--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.template.spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/docs/data-sources/apps_deployment_v1_manifest.md b/docs/data-sources/apps_deployment_v1_manifest.md
index 9d9cdd38c..8391e13c2 100644
--- a/docs/data-sources/apps_deployment_v1_manifest.md
+++ b/docs/data-sources/apps_deployment_v1_manifest.md
@@ -2543,16 +2543,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--template--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.template.spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/docs/data-sources/apps_replica_set_v1_manifest.md b/docs/data-sources/apps_replica_set_v1_manifest.md
index 2c12328f7..58af1f94a 100644
--- a/docs/data-sources/apps_replica_set_v1_manifest.md
+++ b/docs/data-sources/apps_replica_set_v1_manifest.md
@@ -2539,16 +2539,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--template--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.template.spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/docs/data-sources/apps_stateful_set_v1_manifest.md b/docs/data-sources/apps_stateful_set_v1_manifest.md
index 9ada66342..3992bd275 100644
--- a/docs/data-sources/apps_stateful_set_v1_manifest.md
+++ b/docs/data-sources/apps_stateful_set_v1_manifest.md
@@ -2546,16 +2546,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--template--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.template.spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/docs/data-sources/batch_cron_job_v1_manifest.md b/docs/data-sources/batch_cron_job_v1_manifest.md
index 8e4467a6a..493490e68 100644
--- a/docs/data-sources/batch_cron_job_v1_manifest.md
+++ b/docs/data-sources/batch_cron_job_v1_manifest.md
@@ -2606,16 +2606,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--job_template--spec--template--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.job_template.spec.template.spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/docs/data-sources/batch_job_v1_manifest.md b/docs/data-sources/batch_job_v1_manifest.md
index d028a24f5..3f5f0c4fe 100644
--- a/docs/data-sources/batch_job_v1_manifest.md
+++ b/docs/data-sources/batch_job_v1_manifest.md
@@ -2529,16 +2529,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--template--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.template.spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/docs/data-sources/pod_v1_manifest.md b/docs/data-sources/pod_v1_manifest.md
index 41703d03d..39535efd9 100644
--- a/docs/data-sources/pod_v1_manifest.md
+++ b/docs/data-sources/pod_v1_manifest.md
@@ -2444,16 +2444,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/docs/data-sources/replication_controller_v1_manifest.md b/docs/data-sources/replication_controller_v1_manifest.md
index c7de12871..fd6c45792 100644
--- a/docs/data-sources/replication_controller_v1_manifest.md
+++ b/docs/data-sources/replication_controller_v1_manifest.md
@@ -2514,16 +2514,8 @@ Required:
Optional:
-- `source` (Attributes) ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value. (see [below for nested schema](#nestedatt--spec--template--spec--resource_claims--source))
-
-
-### Nested Schema for `spec.template.spec.resource_claims.source`
-
-Optional:
-
-- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
-- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
-
+- `resource_claim_name` (String) ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
+- `resource_claim_template_name` (String) ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
diff --git a/internal/provider/apps_v1/apps_daemon_set_v1_manifest.go b/internal/provider/apps_v1/apps_daemon_set_v1_manifest.go
index bc7369be9..c7f00abe6 100644
--- a/internal/provider/apps_v1/apps_daemon_set_v1_manifest.go
+++ b/internal/provider/apps_v1/apps_daemon_set_v1_manifest.go
@@ -998,11 +998,9 @@ type AppsDaemonSetV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -7970,29 +7968,20 @@ func (r *AppsDaemonSetV1Manifest) Schema(_ context.Context, _ datasource.SchemaR
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/internal/provider/apps_v1/apps_deployment_v1_manifest.go b/internal/provider/apps_v1/apps_deployment_v1_manifest.go
index d73340073..270f78e44 100644
--- a/internal/provider/apps_v1/apps_deployment_v1_manifest.go
+++ b/internal/provider/apps_v1/apps_deployment_v1_manifest.go
@@ -1008,11 +1008,9 @@ type AppsDeploymentV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -8045,29 +8043,20 @@ func (r *AppsDeploymentV1Manifest) Schema(_ context.Context, _ datasource.Schema
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/internal/provider/apps_v1/apps_replica_set_v1_manifest.go b/internal/provider/apps_v1/apps_replica_set_v1_manifest.go
index de5ab550e..d88604786 100644
--- a/internal/provider/apps_v1/apps_replica_set_v1_manifest.go
+++ b/internal/provider/apps_v1/apps_replica_set_v1_manifest.go
@@ -998,11 +998,9 @@ type AppsReplicaSetV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -7963,29 +7961,20 @@ func (r *AppsReplicaSetV1Manifest) Schema(_ context.Context, _ datasource.Schema
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/internal/provider/apps_v1/apps_stateful_set_v1_manifest.go b/internal/provider/apps_v1/apps_stateful_set_v1_manifest.go
index 91746e5dd..1d115e7bd 100644
--- a/internal/provider/apps_v1/apps_stateful_set_v1_manifest.go
+++ b/internal/provider/apps_v1/apps_stateful_set_v1_manifest.go
@@ -1008,11 +1008,9 @@ type AppsStatefulSetV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -8081,29 +8079,20 @@ func (r *AppsStatefulSetV1Manifest) Schema(_ context.Context, _ datasource.Schem
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/internal/provider/batch_v1/batch_cron_job_v1_manifest.go b/internal/provider/batch_v1/batch_cron_job_v1_manifest.go
index 217cdd0ee..318687dc5 100644
--- a/internal/provider/batch_v1/batch_cron_job_v1_manifest.go
+++ b/internal/provider/batch_v1/batch_cron_job_v1_manifest.go
@@ -1062,11 +1062,9 @@ type BatchCronJobV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -8448,29 +8446,20 @@ func (r *BatchCronJobV1Manifest) Schema(_ context.Context, _ datasource.SchemaRe
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/internal/provider/batch_v1/batch_job_v1_manifest.go b/internal/provider/batch_v1/batch_job_v1_manifest.go
index 0a5938915..12622512a 100644
--- a/internal/provider/batch_v1/batch_job_v1_manifest.go
+++ b/internal/provider/batch_v1/batch_job_v1_manifest.go
@@ -1026,11 +1026,9 @@ type BatchJobV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -8129,29 +8127,20 @@ func (r *BatchJobV1Manifest) Schema(_ context.Context, _ datasource.SchemaReques
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/internal/provider/core_v1/pod_v1_manifest.go b/internal/provider/core_v1/pod_v1_manifest.go
index d2f2e4028..e1c54f9ab 100644
--- a/internal/provider/core_v1/pod_v1_manifest.go
+++ b/internal/provider/core_v1/pod_v1_manifest.go
@@ -953,11 +953,9 @@ type PodV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -7526,29 +7524,20 @@ func (r *PodV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, re
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/internal/provider/core_v1/replication_controller_v1_manifest.go b/internal/provider/core_v1/replication_controller_v1_manifest.go
index f8ab24dc3..a9457abd3 100644
--- a/internal/provider/core_v1/replication_controller_v1_manifest.go
+++ b/internal/provider/core_v1/replication_controller_v1_manifest.go
@@ -990,11 +990,9 @@ type ReplicationControllerV1ManifestData struct {
ConditionType *string `tfsdk:"condition_type" json:"conditionType,omitempty"`
} `tfsdk:"readiness_gates" json:"readinessGates,omitempty"`
ResourceClaims *[]struct {
- Name *string `tfsdk:"name" json:"name,omitempty"`
- Source *struct {
- ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
- ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
- } `tfsdk:"source" json:"source,omitempty"`
+ Name *string `tfsdk:"name" json:"name,omitempty"`
+ ResourceClaimName *string `tfsdk:"resource_claim_name" json:"resourceClaimName,omitempty"`
+ ResourceClaimTemplateName *string `tfsdk:"resource_claim_template_name" json:"resourceClaimTemplateName,omitempty"`
} `tfsdk:"resource_claims" json:"resourceClaims,omitempty"`
RestartPolicy *string `tfsdk:"restart_policy" json:"restartPolicy,omitempty"`
RuntimeClassName *string `tfsdk:"runtime_class_name" json:"runtimeClassName,omitempty"`
@@ -7850,29 +7848,20 @@ func (r *ReplicationControllerV1Manifest) Schema(_ context.Context, _ datasource
Computed: false,
},
- "source": schema.SingleNestedAttribute{
- Description: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- MarkdownDescription: "ClaimSource describes a reference to a ResourceClaim.Exactly one of these fields should be set. Consumers of this type must treat an empty object as if it has an unknown value.",
- Attributes: map[string]schema.Attribute{
- "resource_claim_name": schema.StringAttribute{
- Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.",
- Required: false,
- Optional: true,
- Computed: false,
- },
+ "resource_claim_name": schema.StringAttribute{
+ Description: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
+ },
- "resource_claim_template_name": schema.StringAttribute{
- Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.",
- Required: false,
- Optional: true,
- Computed: false,
- },
- },
- Required: false,
- Optional: true,
- Computed: false,
+ "resource_claim_template_name": schema.StringAttribute{
+ Description: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ MarkdownDescription: "ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.The 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.This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.",
+ Required: false,
+ Optional: true,
+ Computed: false,
},
},
},
diff --git a/schemas/openapi_v2/kubernetes/kubernetes/swagger.json b/schemas/openapi_v2/kubernetes/kubernetes/swagger.json
index d908bd11a..f8106bd98 100644
--- a/schemas/openapi_v2/kubernetes/kubernetes/swagger.json
+++ b/schemas/openapi_v2/kubernetes/kubernetes/swagger.json
@@ -5813,20 +5813,6 @@
],
"type": "object"
},
- "io.k8s.api.core.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"
- },
"io.k8s.api.core.v1.ClientIPConfig": {
"description": "ClientIPConfig represents the configurations of Client IP based session affinity.",
"properties": {
@@ -9371,15 +9357,19 @@
"type": "object"
},
"io.k8s.api.core.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/io.k8s.api.core.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": [
@@ -14064,7 +14054,7 @@
},
"type": "object"
},
- "io.k8s.api.networking.v1alpha1.IPAddress": {
+ "io.k8s.api.networking.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": {
@@ -14080,7 +14070,7 @@
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressSpec",
+ "$ref": "#/definitions/io.k8s.api.networking.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"
}
},
@@ -14089,11 +14079,11 @@
{
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "io.k8s.api.networking.v1alpha1.IPAddressList": {
+ "io.k8s.api.networking.v1beta1.IPAddressList": {
"description": "IPAddressList contains a list of IPAddress.",
"properties": {
"apiVersion": {
@@ -14103,7 +14093,7 @@
"items": {
"description": "items is the list of IPAddresses.",
"items": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
},
"type": "array"
},
@@ -14124,15 +14114,15 @@
{
"group": "networking.k8s.io",
"kind": "IPAddressList",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "io.k8s.api.networking.v1alpha1.IPAddressSpec": {
+ "io.k8s.api.networking.v1beta1.IPAddressSpec": {
"description": "IPAddressSpec describe the attributes in an IP Address.",
"properties": {
"parentRef": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ParentReference",
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ParentReference",
"description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object."
}
},
@@ -14141,7 +14131,7 @@
],
"type": "object"
},
- "io.k8s.api.networking.v1alpha1.ParentReference": {
+ "io.k8s.api.networking.v1beta1.ParentReference": {
"description": "ParentReference describes a reference to a parent object.",
"properties": {
"group": {
@@ -14167,7 +14157,7 @@
],
"type": "object"
},
- "io.k8s.api.networking.v1alpha1.ServiceCIDR": {
+ "io.k8s.api.networking.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": {
@@ -14183,11 +14173,11 @@
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata"
},
"spec": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRSpec",
+ "$ref": "#/definitions/io.k8s.api.networking.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/io.k8s.api.networking.v1alpha1.ServiceCIDRStatus",
+ "$ref": "#/definitions/io.k8s.api.networking.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"
}
},
@@ -14196,11 +14186,11 @@
{
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "io.k8s.api.networking.v1alpha1.ServiceCIDRList": {
+ "io.k8s.api.networking.v1beta1.ServiceCIDRList": {
"description": "ServiceCIDRList contains a list of ServiceCIDR objects.",
"properties": {
"apiVersion": {
@@ -14210,7 +14200,7 @@
"items": {
"description": "items is the list of ServiceCIDRs.",
"items": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
},
"type": "array"
},
@@ -14231,15 +14221,15 @@
{
"group": "networking.k8s.io",
"kind": "ServiceCIDRList",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
]
},
- "io.k8s.api.networking.v1alpha1.ServiceCIDRSpec": {
+ "io.k8s.api.networking.v1beta1.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. The network address of each CIDR, the address that identifies the subnet of a host, is reserved and will not be allocated. The broadcast address for IPv4 CIDRs is also reserved and will not be allocated. This field is immutable.",
+ "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"
},
@@ -14249,7 +14239,7 @@
},
"type": "object"
},
- "io.k8s.api.networking.v1alpha1.ServiceCIDRStatus": {
+ "io.k8s.api.networking.v1beta1.ServiceCIDRStatus": {
"description": "ServiceCIDRStatus describes the current state of the ServiceCIDR.",
"properties": {
"conditions": {
@@ -64233,7 +64223,7 @@
}
]
},
- "/apis/networking.k8s.io/v1alpha1/": {
+ "/apis/networking.k8s.io/v1beta1/": {
"get": {
"consumes": [
"application/json",
@@ -64241,7 +64231,7 @@
"application/vnd.kubernetes.protobuf"
],
"description": "get available resources",
- "operationId": "getNetworkingV1alpha1APIResources",
+ "operationId": "getNetworkingV1beta1APIResources",
"produces": [
"application/json",
"application/yaml",
@@ -64262,17 +64252,17 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
]
}
},
- "/apis/networking.k8s.io/v1alpha1/ipaddresses": {
+ "/apis/networking.k8s.io/v1beta1/ipaddresses": {
"delete": {
"consumes": [
"*/*"
],
"description": "delete collection of IPAddress",
- "operationId": "deleteNetworkingV1alpha1CollectionIPAddress",
+ "operationId": "deleteNetworkingV1beta1CollectionIPAddress",
"parameters": [
{
"$ref": "#/parameters/body-2Y1dVQaQ"
@@ -64338,13 +64328,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"get": {
@@ -64352,7 +64342,7 @@
"*/*"
],
"description": "list or watch objects of kind IPAddress",
- "operationId": "listNetworkingV1alpha1IPAddress",
+ "operationId": "listNetworkingV1beta1IPAddress",
"parameters": [
{
"$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J"
@@ -64396,7 +64386,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddressList"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddressList"
}
},
"401": {
@@ -64407,13 +64397,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -64426,14 +64416,14 @@
"*/*"
],
"description": "create an IPAddress",
- "operationId": "createNetworkingV1alpha1IPAddress",
+ "operationId": "createNetworkingV1beta1IPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
{
@@ -64463,19 +64453,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"401": {
@@ -64486,23 +64476,23 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
}
},
- "/apis/networking.k8s.io/v1alpha1/ipaddresses/{name}": {
+ "/apis/networking.k8s.io/v1beta1/ipaddresses/{name}": {
"delete": {
"consumes": [
"*/*"
],
"description": "delete an IPAddress",
- "operationId": "deleteNetworkingV1alpha1IPAddress",
+ "operationId": "deleteNetworkingV1beta1IPAddress",
"parameters": [
{
"$ref": "#/parameters/body-2Y1dVQaQ"
@@ -64550,13 +64540,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"get": {
@@ -64564,7 +64554,7 @@
"*/*"
],
"description": "read the specified IPAddress",
- "operationId": "readNetworkingV1alpha1IPAddress",
+ "operationId": "readNetworkingV1beta1IPAddress",
"produces": [
"application/json",
"application/yaml",
@@ -64574,7 +64564,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"401": {
@@ -64585,13 +64575,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -64615,7 +64605,7 @@
"application/apply-patch+yaml"
],
"description": "partially update the specified IPAddress",
- "operationId": "patchNetworkingV1alpha1IPAddress",
+ "operationId": "patchNetworkingV1beta1IPAddress",
"parameters": [
{
"$ref": "#/parameters/body-78PwaGsr"
@@ -64650,13 +64640,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"401": {
@@ -64667,13 +64657,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"put": {
@@ -64681,14 +64671,14 @@
"*/*"
],
"description": "replace the specified IPAddress",
- "operationId": "replaceNetworkingV1alpha1IPAddress",
+ "operationId": "replaceNetworkingV1beta1IPAddress",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
{
@@ -64718,13 +64708,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.IPAddress"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IPAddress"
}
},
"401": {
@@ -64735,23 +64725,23 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
}
},
- "/apis/networking.k8s.io/v1alpha1/servicecidrs": {
+ "/apis/networking.k8s.io/v1beta1/servicecidrs": {
"delete": {
"consumes": [
"*/*"
],
"description": "delete collection of ServiceCIDR",
- "operationId": "deleteNetworkingV1alpha1CollectionServiceCIDR",
+ "operationId": "deleteNetworkingV1beta1CollectionServiceCIDR",
"parameters": [
{
"$ref": "#/parameters/body-2Y1dVQaQ"
@@ -64817,13 +64807,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "deletecollection",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"get": {
@@ -64831,7 +64821,7 @@
"*/*"
],
"description": "list or watch objects of kind ServiceCIDR",
- "operationId": "listNetworkingV1alpha1ServiceCIDR",
+ "operationId": "listNetworkingV1beta1ServiceCIDR",
"parameters": [
{
"$ref": "#/parameters/allowWatchBookmarks-HC2hJt-J"
@@ -64875,7 +64865,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDRList"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDRList"
}
},
"401": {
@@ -64886,13 +64876,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "list",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -64905,14 +64895,14 @@
"*/*"
],
"description": "create a ServiceCIDR",
- "operationId": "createNetworkingV1alpha1ServiceCIDR",
+ "operationId": "createNetworkingV1beta1ServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
{
@@ -64942,19 +64932,19 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"202": {
"description": "Accepted",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"401": {
@@ -64965,23 +64955,23 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "post",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
}
},
- "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}": {
+ "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}": {
"delete": {
"consumes": [
"*/*"
],
"description": "delete a ServiceCIDR",
- "operationId": "deleteNetworkingV1alpha1ServiceCIDR",
+ "operationId": "deleteNetworkingV1beta1ServiceCIDR",
"parameters": [
{
"$ref": "#/parameters/body-2Y1dVQaQ"
@@ -65029,13 +65019,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "delete",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"get": {
@@ -65043,7 +65033,7 @@
"*/*"
],
"description": "read the specified ServiceCIDR",
- "operationId": "readNetworkingV1alpha1ServiceCIDR",
+ "operationId": "readNetworkingV1beta1ServiceCIDR",
"produces": [
"application/json",
"application/yaml",
@@ -65053,7 +65043,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"401": {
@@ -65064,13 +65054,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -65094,7 +65084,7 @@
"application/apply-patch+yaml"
],
"description": "partially update the specified ServiceCIDR",
- "operationId": "patchNetworkingV1alpha1ServiceCIDR",
+ "operationId": "patchNetworkingV1beta1ServiceCIDR",
"parameters": [
{
"$ref": "#/parameters/body-78PwaGsr"
@@ -65129,13 +65119,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"401": {
@@ -65146,13 +65136,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"put": {
@@ -65160,14 +65150,14 @@
"*/*"
],
"description": "replace the specified ServiceCIDR",
- "operationId": "replaceNetworkingV1alpha1ServiceCIDR",
+ "operationId": "replaceNetworkingV1beta1ServiceCIDR",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
{
@@ -65197,13 +65187,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"401": {
@@ -65214,23 +65204,23 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
}
},
- "/apis/networking.k8s.io/v1alpha1/servicecidrs/{name}/status": {
+ "/apis/networking.k8s.io/v1beta1/servicecidrs/{name}/status": {
"get": {
"consumes": [
"*/*"
],
"description": "read status of the specified ServiceCIDR",
- "operationId": "readNetworkingV1alpha1ServiceCIDRStatus",
+ "operationId": "readNetworkingV1beta1ServiceCIDRStatus",
"produces": [
"application/json",
"application/yaml",
@@ -65240,7 +65230,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"401": {
@@ -65251,13 +65241,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "get",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -65281,7 +65271,7 @@
"application/apply-patch+yaml"
],
"description": "partially update status of the specified ServiceCIDR",
- "operationId": "patchNetworkingV1alpha1ServiceCIDRStatus",
+ "operationId": "patchNetworkingV1beta1ServiceCIDRStatus",
"parameters": [
{
"$ref": "#/parameters/body-78PwaGsr"
@@ -65316,13 +65306,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"401": {
@@ -65333,13 +65323,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "patch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"put": {
@@ -65347,14 +65337,14 @@
"*/*"
],
"description": "replace status of the specified ServiceCIDR",
- "operationId": "replaceNetworkingV1alpha1ServiceCIDRStatus",
+ "operationId": "replaceNetworkingV1beta1ServiceCIDRStatus",
"parameters": [
{
"in": "body",
"name": "body",
"required": true,
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
{
@@ -65384,13 +65374,13 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"201": {
"description": "Created",
"schema": {
- "$ref": "#/definitions/io.k8s.api.networking.v1alpha1.ServiceCIDR"
+ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.ServiceCIDR"
}
},
"401": {
@@ -65401,23 +65391,23 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "put",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
}
},
- "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses": {
+ "/apis/networking.k8s.io/v1beta1/watch/ipaddresses": {
"get": {
"consumes": [
"*/*"
],
"description": "watch individual changes to a list of IPAddress. deprecated: use the 'watch' parameter with a list operation instead.",
- "operationId": "watchNetworkingV1alpha1IPAddressList",
+ "operationId": "watchNetworkingV1beta1IPAddressList",
"produces": [
"application/json",
"application/yaml",
@@ -65440,13 +65430,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "watchlist",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -65485,13 +65475,13 @@
}
]
},
- "/apis/networking.k8s.io/v1alpha1/watch/ipaddresses/{name}": {
+ "/apis/networking.k8s.io/v1beta1/watch/ipaddresses/{name}": {
"get": {
"consumes": [
"*/*"
],
"description": "watch changes to an object of kind IPAddress. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
- "operationId": "watchNetworkingV1alpha1IPAddress",
+ "operationId": "watchNetworkingV1beta1IPAddress",
"produces": [
"application/json",
"application/yaml",
@@ -65514,13 +65504,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "watch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "IPAddress",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -65567,13 +65557,13 @@
}
]
},
- "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs": {
+ "/apis/networking.k8s.io/v1beta1/watch/servicecidrs": {
"get": {
"consumes": [
"*/*"
],
"description": "watch individual changes to a list of ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead.",
- "operationId": "watchNetworkingV1alpha1ServiceCIDRList",
+ "operationId": "watchNetworkingV1beta1ServiceCIDRList",
"produces": [
"application/json",
"application/yaml",
@@ -65596,13 +65586,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "watchlist",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [
@@ -65641,13 +65631,13 @@
}
]
},
- "/apis/networking.k8s.io/v1alpha1/watch/servicecidrs/{name}": {
+ "/apis/networking.k8s.io/v1beta1/watch/servicecidrs/{name}": {
"get": {
"consumes": [
"*/*"
],
"description": "watch changes to an object of kind ServiceCIDR. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.",
- "operationId": "watchNetworkingV1alpha1ServiceCIDR",
+ "operationId": "watchNetworkingV1beta1ServiceCIDR",
"produces": [
"application/json",
"application/yaml",
@@ -65670,13 +65660,13 @@
"https"
],
"tags": [
- "networking_v1alpha1"
+ "networking_v1beta1"
],
"x-kubernetes-action": "watch",
"x-kubernetes-group-version-kind": {
"group": "networking.k8s.io",
"kind": "ServiceCIDR",
- "version": "v1alpha1"
+ "version": "v1beta1"
}
},
"parameters": [