diff --git a/docs/data-sources/image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest.md b/docs/data-sources/image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest.md index 75a2d8e4f..18dedd53f 100644 --- a/docs/data-sources/image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest.md +++ b/docs/data-sources/image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest.md @@ -15,7 +15,7 @@ ImageUpdateAutomation is the Schema for the imageupdateautomations API ```terraform data "k8s_image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest" "example" { metadata = { - name = "some-name" + name = "some-name" namespace = "some-namespace" } } diff --git a/docs/data-sources/k8s_mariadb_com_maria_db_v1alpha1_manifest.md b/docs/data-sources/k8s_mariadb_com_maria_db_v1alpha1_manifest.md index ac42371e8..7c5934288 100644 --- a/docs/data-sources/k8s_mariadb_com_maria_db_v1alpha1_manifest.md +++ b/docs/data-sources/k8s_mariadb_com_maria_db_v1alpha1_manifest.md @@ -18,6 +18,7 @@ data "k8s_k8s_mariadb_com_maria_db_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = {} } ``` diff --git a/docs/data-sources/operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest.md b/docs/data-sources/operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest.md index 331af9e1e..ac9f31045 100644 --- a/docs/data-sources/operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest.md +++ b/docs/data-sources/operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest.md @@ -18,6 +18,7 @@ data "k8s_operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest" "exampl name = "some-name" namespace = "some-namespace" } + spec = {} } ``` diff --git a/docs/data-sources/operator_victoriametrics_com_vm_cluster_v1beta1_manifest.md b/docs/data-sources/operator_victoriametrics_com_vm_cluster_v1beta1_manifest.md index 1ad734977..1e08eb699 100644 --- a/docs/data-sources/operator_victoriametrics_com_vm_cluster_v1beta1_manifest.md +++ b/docs/data-sources/operator_victoriametrics_com_vm_cluster_v1beta1_manifest.md @@ -18,6 +18,9 @@ data "k8s_operator_victoriametrics_com_vm_cluster_v1beta1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + retention_period = "5h" + } } ``` diff --git a/docs/data-sources/work_karmada_io_cluster_resource_binding_v1alpha2_manifest.md b/docs/data-sources/work_karmada_io_cluster_resource_binding_v1alpha2_manifest.md index 28deefe66..63b813861 100644 --- a/docs/data-sources/work_karmada_io_cluster_resource_binding_v1alpha2_manifest.md +++ b/docs/data-sources/work_karmada_io_cluster_resource_binding_v1alpha2_manifest.md @@ -16,7 +16,13 @@ ClusterResourceBinding represents a binding of a kubernetes resource with a Clus data "k8s_work_karmada_io_cluster_resource_binding_v1alpha2_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + resource = { + api_version = "v1" + kind = "Service" + name = "some-service" + } } } ``` diff --git a/docs/data-sources/work_karmada_io_resource_binding_v1alpha2_manifest.md b/docs/data-sources/work_karmada_io_resource_binding_v1alpha2_manifest.md index 04205c594..2fa8d7fbb 100644 --- a/docs/data-sources/work_karmada_io_resource_binding_v1alpha2_manifest.md +++ b/docs/data-sources/work_karmada_io_resource_binding_v1alpha2_manifest.md @@ -18,6 +18,13 @@ data "k8s_work_karmada_io_resource_binding_v1alpha2_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + resource = { + api_version = "v1" + kind = "Service" + name = "some-service" + } + } } ``` diff --git a/examples/data-sources/k8s_image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest/data-source.tf b/examples/data-sources/k8s_image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest/data-source.tf index fbccf1244..5ff622f01 100644 --- a/examples/data-sources/k8s_image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest/data-source.tf +++ b/examples/data-sources/k8s_image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest/data-source.tf @@ -1,6 +1,6 @@ data "k8s_image_toolkit_fluxcd_io_image_update_automation_v1beta2_manifest" "example" { metadata = { - name = "some-name" + name = "some-name" namespace = "some-namespace" } } diff --git a/examples/data-sources/k8s_k8s_mariadb_com_maria_db_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_k8s_mariadb_com_maria_db_v1alpha1_manifest/data-source.tf index d5bc61045..d9dc1ee6d 100644 --- a/examples/data-sources/k8s_k8s_mariadb_com_maria_db_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_k8s_mariadb_com_maria_db_v1alpha1_manifest/data-source.tf @@ -3,4 +3,5 @@ data "k8s_k8s_mariadb_com_maria_db_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = {} } diff --git a/examples/data-sources/k8s_operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest/data-source.tf b/examples/data-sources/k8s_operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest/data-source.tf index da40c0d2d..404ed8f51 100644 --- a/examples/data-sources/k8s_operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest/data-source.tf +++ b/examples/data-sources/k8s_operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest/data-source.tf @@ -3,4 +3,5 @@ data "k8s_operator_victoriametrics_com_vm_alertmanager_v1beta1_manifest" "exampl name = "some-name" namespace = "some-namespace" } + spec = {} } diff --git a/examples/data-sources/k8s_operator_victoriametrics_com_vm_cluster_v1beta1_manifest/data-source.tf b/examples/data-sources/k8s_operator_victoriametrics_com_vm_cluster_v1beta1_manifest/data-source.tf index e6f40b857..f7f84d9db 100644 --- a/examples/data-sources/k8s_operator_victoriametrics_com_vm_cluster_v1beta1_manifest/data-source.tf +++ b/examples/data-sources/k8s_operator_victoriametrics_com_vm_cluster_v1beta1_manifest/data-source.tf @@ -3,4 +3,7 @@ data "k8s_operator_victoriametrics_com_vm_cluster_v1beta1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + retention_period = "5h" + } } diff --git a/examples/data-sources/k8s_work_karmada_io_cluster_resource_binding_v1alpha2_manifest/data-source.tf b/examples/data-sources/k8s_work_karmada_io_cluster_resource_binding_v1alpha2_manifest/data-source.tf index ea15bb2bf..6e4eaa240 100644 --- a/examples/data-sources/k8s_work_karmada_io_cluster_resource_binding_v1alpha2_manifest/data-source.tf +++ b/examples/data-sources/k8s_work_karmada_io_cluster_resource_binding_v1alpha2_manifest/data-source.tf @@ -1,6 +1,12 @@ data "k8s_work_karmada_io_cluster_resource_binding_v1alpha2_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + resource = { + api_version = "v1" + kind = "Service" + name = "some-service" + } } } diff --git a/examples/data-sources/k8s_work_karmada_io_resource_binding_v1alpha2_manifest/data-source.tf b/examples/data-sources/k8s_work_karmada_io_resource_binding_v1alpha2_manifest/data-source.tf index 128ceb3c7..e5e41ad96 100644 --- a/examples/data-sources/k8s_work_karmada_io_resource_binding_v1alpha2_manifest/data-source.tf +++ b/examples/data-sources/k8s_work_karmada_io_resource_binding_v1alpha2_manifest/data-source.tf @@ -3,4 +3,11 @@ data "k8s_work_karmada_io_resource_binding_v1alpha2_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + resource = { + api_version = "v1" + kind = "Service" + name = "some-service" + } + } }