From 8db861fd3360a8bba375d91da4c78e5ef4fcaf62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Fri, 7 Jun 2024 18:12:42 +0200 Subject: [PATCH] fix examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- .../bitnami_com_sealed_secret_v1alpha1_manifest.md | 5 +++++ .../chainsaw_kyverno_io_test_v1alpha2_manifest.md | 4 +++- .../extensions_istio_io_wasm_plugin_v1alpha1_manifest.md | 3 +++ ...onveyor_io_openstack_volume_populator_v1beta1_manifest.md | 5 +++++ ...ft_konveyor_io_ovirt_volume_populator_v1beta1_manifest.md | 5 +++++ .../data-source.tf | 5 +++++ .../data-source.tf | 4 +++- .../data-source.tf | 3 +++ .../data-source.tf | 5 +++++ .../data-source.tf | 5 +++++ 10 files changed, 42 insertions(+), 2 deletions(-) diff --git a/docs/data-sources/bitnami_com_sealed_secret_v1alpha1_manifest.md b/docs/data-sources/bitnami_com_sealed_secret_v1alpha1_manifest.md index 6280c3e47..33066e60b 100644 --- a/docs/data-sources/bitnami_com_sealed_secret_v1alpha1_manifest.md +++ b/docs/data-sources/bitnami_com_sealed_secret_v1alpha1_manifest.md @@ -18,6 +18,11 @@ data "k8s_bitnami_com_sealed_secret_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + encrypted_data = { + "key" = "value" + } + } } ``` diff --git a/docs/data-sources/chainsaw_kyverno_io_test_v1alpha2_manifest.md b/docs/data-sources/chainsaw_kyverno_io_test_v1alpha2_manifest.md index 7f940124e..cbccfc103 100644 --- a/docs/data-sources/chainsaw_kyverno_io_test_v1alpha2_manifest.md +++ b/docs/data-sources/chainsaw_kyverno_io_test_v1alpha2_manifest.md @@ -16,7 +16,9 @@ Test is the resource that contains a test definition. data "k8s_chainsaw_kyverno_io_test_v1alpha2_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + steps = [] } } ``` diff --git a/docs/data-sources/extensions_istio_io_wasm_plugin_v1alpha1_manifest.md b/docs/data-sources/extensions_istio_io_wasm_plugin_v1alpha1_manifest.md index 8b7052f13..beaba2f7b 100644 --- a/docs/data-sources/extensions_istio_io_wasm_plugin_v1alpha1_manifest.md +++ b/docs/data-sources/extensions_istio_io_wasm_plugin_v1alpha1_manifest.md @@ -18,6 +18,9 @@ data "k8s_extensions_istio_io_wasm_plugin_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + url = "example.com" + } } ``` diff --git a/docs/data-sources/forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest.md b/docs/data-sources/forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest.md index 6437c2334..cfb3c4db2 100644 --- a/docs/data-sources/forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest.md +++ b/docs/data-sources/forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest.md @@ -18,6 +18,11 @@ data "k8s_forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest" "exa name = "some-name" namespace = "some-namespace" } + spec = { + identity_url = "example.com" + image_id = "some-image" + secret_name = "some-secret" + } } ``` diff --git a/docs/data-sources/forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest.md b/docs/data-sources/forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest.md index 2fb6f25e5..20917c8bb 100644 --- a/docs/data-sources/forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest.md +++ b/docs/data-sources/forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest.md @@ -18,6 +18,11 @@ data "k8s_forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest" "example name = "some-name" namespace = "some-namespace" } + spec = { + disk_id = "some-id" + engine_secret_name = "some-secret" + engine_url = "example.com" + } } ``` diff --git a/examples/data-sources/k8s_bitnami_com_sealed_secret_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_bitnami_com_sealed_secret_v1alpha1_manifest/data-source.tf index b27cbd118..c7c8251d0 100644 --- a/examples/data-sources/k8s_bitnami_com_sealed_secret_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_bitnami_com_sealed_secret_v1alpha1_manifest/data-source.tf @@ -3,4 +3,9 @@ data "k8s_bitnami_com_sealed_secret_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + encrypted_data = { + "key" = "value" + } + } } diff --git a/examples/data-sources/k8s_chainsaw_kyverno_io_test_v1alpha2_manifest/data-source.tf b/examples/data-sources/k8s_chainsaw_kyverno_io_test_v1alpha2_manifest/data-source.tf index 0ef156b23..321395bc0 100644 --- a/examples/data-sources/k8s_chainsaw_kyverno_io_test_v1alpha2_manifest/data-source.tf +++ b/examples/data-sources/k8s_chainsaw_kyverno_io_test_v1alpha2_manifest/data-source.tf @@ -1,6 +1,8 @@ data "k8s_chainsaw_kyverno_io_test_v1alpha2_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + steps = [] } } diff --git a/examples/data-sources/k8s_extensions_istio_io_wasm_plugin_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_extensions_istio_io_wasm_plugin_v1alpha1_manifest/data-source.tf index 3b90e952f..351b81672 100644 --- a/examples/data-sources/k8s_extensions_istio_io_wasm_plugin_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_extensions_istio_io_wasm_plugin_v1alpha1_manifest/data-source.tf @@ -3,4 +3,7 @@ data "k8s_extensions_istio_io_wasm_plugin_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + url = "example.com" + } } diff --git a/examples/data-sources/k8s_forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest/data-source.tf b/examples/data-sources/k8s_forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest/data-source.tf index 08870d078..5f8c75f32 100644 --- a/examples/data-sources/k8s_forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest/data-source.tf +++ b/examples/data-sources/k8s_forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest/data-source.tf @@ -3,4 +3,9 @@ data "k8s_forklift_konveyor_io_openstack_volume_populator_v1beta1_manifest" "exa name = "some-name" namespace = "some-namespace" } + spec = { + identity_url = "example.com" + image_id = "some-image" + secret_name = "some-secret" + } } diff --git a/examples/data-sources/k8s_forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest/data-source.tf b/examples/data-sources/k8s_forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest/data-source.tf index f6b83bda7..bdb542288 100644 --- a/examples/data-sources/k8s_forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest/data-source.tf +++ b/examples/data-sources/k8s_forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest/data-source.tf @@ -3,4 +3,9 @@ data "k8s_forklift_konveyor_io_ovirt_volume_populator_v1beta1_manifest" "example name = "some-name" namespace = "some-namespace" } + spec = { + disk_id = "some-id" + engine_secret_name = "some-secret" + engine_url = "example.com" + } }