From 51e9224de955135f6af2632baf0d77a95a79d9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Fri, 20 Sep 2024 18:15:23 +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ß --- ..._tech_airflow_cluster_v1alpha1_manifest.md | 6 ++++ ..._authentication_class_v1alpha1_manifest.md | 4 ++- ...le_tech_druid_cluster_v1alpha1_manifest.md | 28 +++++++++++++++++++ ...able_tech_edc_cluster_v1alpha1_manifest.md | 10 +++++++ ...le_tech_hbase_cluster_v1alpha1_manifest.md | 7 +++++ ...ble_tech_hdfs_cluster_v1alpha1_manifest.md | 6 ++++ ...ble_tech_hive_cluster_v1alpha1_manifest.md | 10 +++++++ ...le_tech_kafka_cluster_v1alpha1_manifest.md | 6 ++++ ...e_tech_listener_class_v1alpha1_manifest.md | 4 ++- ...ackable_tech_listener_v1alpha1_manifest.md | 1 + ...le_tech_pod_listeners_v1alpha1_manifest.md | 5 ++++ ...ble_tech_nifi_cluster_v1alpha1_manifest.md | 10 +++++++ ...able_tech_opa_cluster_v1alpha1_manifest.md | 6 ++++ ...ble_tech_secret_class_v1alpha1_manifest.md | 4 ++- ...ech_spark_application_v1alpha1_manifest.md | 5 ++++ ..._spark_history_server_v1alpha1_manifest.md | 7 +++++ ...tech_druid_connection_v1alpha1_manifest.md | 8 ++++++ ...tech_superset_cluster_v1alpha1_manifest.md | 6 ++++ ...le_tech_trino_catalog_v1alpha1_manifest.md | 3 ++ ...le_tech_trino_cluster_v1alpha1_manifest.md | 6 ++++ ...ech_zookeeper_cluster_v1alpha1_manifest.md | 3 ++ ..._tech_zookeeper_znode_v1alpha1_manifest.md | 1 + .../data-source.tf | 6 ++++ .../data-source.tf | 4 ++- .../data-source.tf | 28 +++++++++++++++++++ .../data-source.tf | 10 +++++++ .../data-source.tf | 7 +++++ .../data-source.tf | 6 ++++ .../data-source.tf | 10 +++++++ .../data-source.tf | 6 ++++ .../data-source.tf | 4 ++- .../data-source.tf | 1 + .../data-source.tf | 5 ++++ .../data-source.tf | 10 +++++++ .../data-source.tf | 6 ++++ .../data-source.tf | 4 ++- .../data-source.tf | 5 ++++ .../data-source.tf | 7 +++++ .../data-source.tf | 8 ++++++ .../data-source.tf | 6 ++++ .../data-source.tf | 3 ++ .../data-source.tf | 6 ++++ .../data-source.tf | 3 ++ .../data-source.tf | 1 + 44 files changed, 286 insertions(+), 6 deletions(-) diff --git a/docs/data-sources/airflow_stackable_tech_airflow_cluster_v1alpha1_manifest.md b/docs/data-sources/airflow_stackable_tech_airflow_cluster_v1alpha1_manifest.md index a1116def5..0b012e0e3 100644 --- a/docs/data-sources/airflow_stackable_tech_airflow_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/airflow_stackable_tech_airflow_cluster_v1alpha1_manifest.md @@ -18,6 +18,12 @@ data "k8s_airflow_stackable_tech_airflow_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + credentials_secret = "some-secret" + } + image = {} + } } ``` diff --git a/docs/data-sources/authentication_stackable_tech_authentication_class_v1alpha1_manifest.md b/docs/data-sources/authentication_stackable_tech_authentication_class_v1alpha1_manifest.md index f6e106350..b7c2f615a 100644 --- a/docs/data-sources/authentication_stackable_tech_authentication_class_v1alpha1_manifest.md +++ b/docs/data-sources/authentication_stackable_tech_authentication_class_v1alpha1_manifest.md @@ -16,7 +16,9 @@ Auto-generated derived type for AuthenticationClassSpec via 'CustomResource' data "k8s_authentication_stackable_tech_authentication_class_v1alpha1_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + protocol = {} } } ``` diff --git a/docs/data-sources/druid_stackable_tech_druid_cluster_v1alpha1_manifest.md b/docs/data-sources/druid_stackable_tech_druid_cluster_v1alpha1_manifest.md index 92a997dd8..e5df4ff4f 100644 --- a/docs/data-sources/druid_stackable_tech_druid_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/druid_stackable_tech_druid_cluster_v1alpha1_manifest.md @@ -18,6 +18,34 @@ data "k8s_druid_stackable_tech_druid_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + brokers = { + role_groups = {} + } + cluster_config = { + deep_storage = {} + metadata_storage_database = { + conn_string = "postgresql://host:port/name" + db_type = "postgresql" + host = "some-host" + port = 12345 + } + zookeeper_config_map_name = "some-name" + } + coordinators = { + role_groups = {} + } + historicals = { + role_groups = {} + } + image = {} + middle_managers = { + role_groups = {} + } + routers = { + role_groups = {} + } + } } ``` diff --git a/docs/data-sources/edc_stackable_tech_edc_cluster_v1alpha1_manifest.md b/docs/data-sources/edc_stackable_tech_edc_cluster_v1alpha1_manifest.md index 1faa18a33..6f28260fe 100644 --- a/docs/data-sources/edc_stackable_tech_edc_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/edc_stackable_tech_edc_cluster_v1alpha1_manifest.md @@ -18,6 +18,16 @@ data "k8s_edc_stackable_tech_edc_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + cert_secret = "some-secret" + ionos = { + s3 = {} + token_secret = "some-token" + } + } + image = {} + } } ``` diff --git a/docs/data-sources/hbase_stackable_tech_hbase_cluster_v1alpha1_manifest.md b/docs/data-sources/hbase_stackable_tech_hbase_cluster_v1alpha1_manifest.md index cd685c6e5..179180a84 100644 --- a/docs/data-sources/hbase_stackable_tech_hbase_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/hbase_stackable_tech_hbase_cluster_v1alpha1_manifest.md @@ -18,6 +18,13 @@ data "k8s_hbase_stackable_tech_hbase_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + hdfs_config_map_name = "some-name" + zookeeper_config_map_name = "some-name" + } + image = {} + } } ``` diff --git a/docs/data-sources/hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest.md b/docs/data-sources/hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest.md index 0be466449..ace6ade2f 100644 --- a/docs/data-sources/hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest.md @@ -18,6 +18,12 @@ data "k8s_hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + zookeeper_config_map_name = "some-name" + } + image = {} + } } ``` diff --git a/docs/data-sources/hive_stackable_tech_hive_cluster_v1alpha1_manifest.md b/docs/data-sources/hive_stackable_tech_hive_cluster_v1alpha1_manifest.md index ac5499e29..daa052bd0 100644 --- a/docs/data-sources/hive_stackable_tech_hive_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/hive_stackable_tech_hive_cluster_v1alpha1_manifest.md @@ -18,6 +18,16 @@ data "k8s_hive_stackable_tech_hive_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + database = { + conn_string = "postgresql://host:port/name" + credentials_secret = "some-secret" + db_type = "postgres" + } + } + image = {} + } } ``` diff --git a/docs/data-sources/kafka_stackable_tech_kafka_cluster_v1alpha1_manifest.md b/docs/data-sources/kafka_stackable_tech_kafka_cluster_v1alpha1_manifest.md index 1450ddd8b..393b8c685 100644 --- a/docs/data-sources/kafka_stackable_tech_kafka_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/kafka_stackable_tech_kafka_cluster_v1alpha1_manifest.md @@ -18,6 +18,12 @@ data "k8s_kafka_stackable_tech_kafka_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + zookeeper_config_map_name = "some-name" + } + image = {} + } } ``` diff --git a/docs/data-sources/listeners_stackable_tech_listener_class_v1alpha1_manifest.md b/docs/data-sources/listeners_stackable_tech_listener_class_v1alpha1_manifest.md index c87ba65cc..eff99fefb 100644 --- a/docs/data-sources/listeners_stackable_tech_listener_class_v1alpha1_manifest.md +++ b/docs/data-sources/listeners_stackable_tech_listener_class_v1alpha1_manifest.md @@ -16,7 +16,9 @@ Auto-generated derived type for ListenerClassSpec via 'CustomResource' data "k8s_listeners_stackable_tech_listener_class_v1alpha1_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + service_type = "ClusterIP" } } ``` diff --git a/docs/data-sources/listeners_stackable_tech_listener_v1alpha1_manifest.md b/docs/data-sources/listeners_stackable_tech_listener_v1alpha1_manifest.md index 1b9aa8782..2162ba548 100644 --- a/docs/data-sources/listeners_stackable_tech_listener_v1alpha1_manifest.md +++ b/docs/data-sources/listeners_stackable_tech_listener_v1alpha1_manifest.md @@ -18,6 +18,7 @@ data "k8s_listeners_stackable_tech_listener_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = {} } ``` diff --git a/docs/data-sources/listeners_stackable_tech_pod_listeners_v1alpha1_manifest.md b/docs/data-sources/listeners_stackable_tech_pod_listeners_v1alpha1_manifest.md index da1d7f59d..b4e0cbf11 100644 --- a/docs/data-sources/listeners_stackable_tech_pod_listeners_v1alpha1_manifest.md +++ b/docs/data-sources/listeners_stackable_tech_pod_listeners_v1alpha1_manifest.md @@ -18,6 +18,11 @@ data "k8s_listeners_stackable_tech_pod_listeners_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + listeners = { + scope = "Cluster" + } + } } ``` diff --git a/docs/data-sources/nifi_stackable_tech_nifi_cluster_v1alpha1_manifest.md b/docs/data-sources/nifi_stackable_tech_nifi_cluster_v1alpha1_manifest.md index fbe5844ba..96308710f 100644 --- a/docs/data-sources/nifi_stackable_tech_nifi_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/nifi_stackable_tech_nifi_cluster_v1alpha1_manifest.md @@ -18,6 +18,16 @@ data "k8s_nifi_stackable_tech_nifi_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + authentication = [] + sensitive_properties = { + key_secret = "some-secret" + } + zookeeper_config_map_name = "some-name" + } + image = {} + } } ``` diff --git a/docs/data-sources/opa_stackable_tech_opa_cluster_v1alpha1_manifest.md b/docs/data-sources/opa_stackable_tech_opa_cluster_v1alpha1_manifest.md index d5770095e..4b25dabff 100644 --- a/docs/data-sources/opa_stackable_tech_opa_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/opa_stackable_tech_opa_cluster_v1alpha1_manifest.md @@ -18,6 +18,12 @@ data "k8s_opa_stackable_tech_opa_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + image = {} + servers = { + role_groups = {} + } + } } ``` diff --git a/docs/data-sources/secrets_stackable_tech_secret_class_v1alpha1_manifest.md b/docs/data-sources/secrets_stackable_tech_secret_class_v1alpha1_manifest.md index 6b0bcf0b0..0ee4239a7 100644 --- a/docs/data-sources/secrets_stackable_tech_secret_class_v1alpha1_manifest.md +++ b/docs/data-sources/secrets_stackable_tech_secret_class_v1alpha1_manifest.md @@ -16,7 +16,9 @@ Auto-generated derived type for SecretClassSpec via 'CustomResource' data "k8s_secrets_stackable_tech_secret_class_v1alpha1_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + backend = {} } } ``` diff --git a/docs/data-sources/spark_stackable_tech_spark_application_v1alpha1_manifest.md b/docs/data-sources/spark_stackable_tech_spark_application_v1alpha1_manifest.md index 8cc2d4473..28d951a66 100644 --- a/docs/data-sources/spark_stackable_tech_spark_application_v1alpha1_manifest.md +++ b/docs/data-sources/spark_stackable_tech_spark_application_v1alpha1_manifest.md @@ -18,6 +18,11 @@ data "k8s_spark_stackable_tech_spark_application_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + main_application_file = "some-file" + mode = "cluster" + spark_image = {} + } } ``` diff --git a/docs/data-sources/spark_stackable_tech_spark_history_server_v1alpha1_manifest.md b/docs/data-sources/spark_stackable_tech_spark_history_server_v1alpha1_manifest.md index 3c3f4c6c4..fa0dfb338 100644 --- a/docs/data-sources/spark_stackable_tech_spark_history_server_v1alpha1_manifest.md +++ b/docs/data-sources/spark_stackable_tech_spark_history_server_v1alpha1_manifest.md @@ -18,6 +18,13 @@ data "k8s_spark_stackable_tech_spark_history_server_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = { + image = {} + log_file_directory = {} + nodes = { + role_groups = {} + } + } } ``` diff --git a/docs/data-sources/superset_stackable_tech_druid_connection_v1alpha1_manifest.md b/docs/data-sources/superset_stackable_tech_druid_connection_v1alpha1_manifest.md index 1d1a55323..f74c4ebe4 100644 --- a/docs/data-sources/superset_stackable_tech_druid_connection_v1alpha1_manifest.md +++ b/docs/data-sources/superset_stackable_tech_druid_connection_v1alpha1_manifest.md @@ -18,6 +18,14 @@ data "k8s_superset_stackable_tech_druid_connection_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = { + druid = { + name = "some-name" + } + superset = { + name = "some-name" + } + } } ``` diff --git a/docs/data-sources/superset_stackable_tech_superset_cluster_v1alpha1_manifest.md b/docs/data-sources/superset_stackable_tech_superset_cluster_v1alpha1_manifest.md index 93c6c033b..055698486 100644 --- a/docs/data-sources/superset_stackable_tech_superset_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/superset_stackable_tech_superset_cluster_v1alpha1_manifest.md @@ -18,6 +18,12 @@ data "k8s_superset_stackable_tech_superset_cluster_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + credentials_secret = "some-secret" + } + image = {} + } } ``` diff --git a/docs/data-sources/trino_stackable_tech_trino_catalog_v1alpha1_manifest.md b/docs/data-sources/trino_stackable_tech_trino_catalog_v1alpha1_manifest.md index 42a375cd6..b04064832 100644 --- a/docs/data-sources/trino_stackable_tech_trino_catalog_v1alpha1_manifest.md +++ b/docs/data-sources/trino_stackable_tech_trino_catalog_v1alpha1_manifest.md @@ -18,6 +18,9 @@ data "k8s_trino_stackable_tech_trino_catalog_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + connector = {} + } } ``` diff --git a/docs/data-sources/trino_stackable_tech_trino_cluster_v1alpha1_manifest.md b/docs/data-sources/trino_stackable_tech_trino_cluster_v1alpha1_manifest.md index a813a25ea..2c32fa7b7 100644 --- a/docs/data-sources/trino_stackable_tech_trino_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/trino_stackable_tech_trino_cluster_v1alpha1_manifest.md @@ -18,6 +18,12 @@ data "k8s_trino_stackable_tech_trino_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + catalog_label_selector = {} + } + image = {} + } } ``` diff --git a/docs/data-sources/zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest.md b/docs/data-sources/zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest.md index 3b4cc74f6..b29c39e6a 100644 --- a/docs/data-sources/zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest.md +++ b/docs/data-sources/zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest.md @@ -18,6 +18,9 @@ data "k8s_zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest" "example name = "some-name" namespace = "some-namespace" } + spec = { + image = {} + } } ``` diff --git a/docs/data-sources/zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest.md b/docs/data-sources/zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest.md index 01bf940aa..b873c673c 100644 --- a/docs/data-sources/zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest.md +++ b/docs/data-sources/zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest.md @@ -18,6 +18,7 @@ data "k8s_zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = {} } ``` diff --git a/examples/data-sources/k8s_airflow_stackable_tech_airflow_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_airflow_stackable_tech_airflow_cluster_v1alpha1_manifest/data-source.tf index c68b365c0..4c68e9cfd 100644 --- a/examples/data-sources/k8s_airflow_stackable_tech_airflow_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_airflow_stackable_tech_airflow_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,10 @@ data "k8s_airflow_stackable_tech_airflow_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + credentials_secret = "some-secret" + } + image = {} + } } diff --git a/examples/data-sources/k8s_authentication_stackable_tech_authentication_class_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_authentication_stackable_tech_authentication_class_v1alpha1_manifest/data-source.tf index b8ec584cf..bfde08647 100644 --- a/examples/data-sources/k8s_authentication_stackable_tech_authentication_class_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_authentication_stackable_tech_authentication_class_v1alpha1_manifest/data-source.tf @@ -1,6 +1,8 @@ data "k8s_authentication_stackable_tech_authentication_class_v1alpha1_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + protocol = {} } } diff --git a/examples/data-sources/k8s_druid_stackable_tech_druid_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_druid_stackable_tech_druid_cluster_v1alpha1_manifest/data-source.tf index fcdd087b1..37a31d758 100644 --- a/examples/data-sources/k8s_druid_stackable_tech_druid_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_druid_stackable_tech_druid_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,32 @@ data "k8s_druid_stackable_tech_druid_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + brokers = { + role_groups = {} + } + cluster_config = { + deep_storage = {} + metadata_storage_database = { + conn_string = "postgresql://host:port/name" + db_type = "postgresql" + host = "some-host" + port = 12345 + } + zookeeper_config_map_name = "some-name" + } + coordinators = { + role_groups = {} + } + historicals = { + role_groups = {} + } + image = {} + middle_managers = { + role_groups = {} + } + routers = { + role_groups = {} + } + } } diff --git a/examples/data-sources/k8s_edc_stackable_tech_edc_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_edc_stackable_tech_edc_cluster_v1alpha1_manifest/data-source.tf index 42ff2bad0..5be19aa16 100644 --- a/examples/data-sources/k8s_edc_stackable_tech_edc_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_edc_stackable_tech_edc_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,14 @@ data "k8s_edc_stackable_tech_edc_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + cert_secret = "some-secret" + ionos = { + s3 = {} + token_secret = "some-token" + } + } + image = {} + } } diff --git a/examples/data-sources/k8s_hbase_stackable_tech_hbase_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_hbase_stackable_tech_hbase_cluster_v1alpha1_manifest/data-source.tf index 3e62f3880..9ea84310b 100644 --- a/examples/data-sources/k8s_hbase_stackable_tech_hbase_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_hbase_stackable_tech_hbase_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,11 @@ data "k8s_hbase_stackable_tech_hbase_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + hdfs_config_map_name = "some-name" + zookeeper_config_map_name = "some-name" + } + image = {} + } } diff --git a/examples/data-sources/k8s_hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest/data-source.tf index e0927c25d..a07f6bcd9 100644 --- a/examples/data-sources/k8s_hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,10 @@ data "k8s_hdfs_stackable_tech_hdfs_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + zookeeper_config_map_name = "some-name" + } + image = {} + } } diff --git a/examples/data-sources/k8s_hive_stackable_tech_hive_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_hive_stackable_tech_hive_cluster_v1alpha1_manifest/data-source.tf index f24330e2c..91be06c87 100644 --- a/examples/data-sources/k8s_hive_stackable_tech_hive_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_hive_stackable_tech_hive_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,14 @@ data "k8s_hive_stackable_tech_hive_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + database = { + conn_string = "postgresql://host:port/name" + credentials_secret = "some-secret" + db_type = "postgres" + } + } + image = {} + } } diff --git a/examples/data-sources/k8s_kafka_stackable_tech_kafka_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_kafka_stackable_tech_kafka_cluster_v1alpha1_manifest/data-source.tf index 635030e03..ef85c071a 100644 --- a/examples/data-sources/k8s_kafka_stackable_tech_kafka_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_kafka_stackable_tech_kafka_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,10 @@ data "k8s_kafka_stackable_tech_kafka_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + zookeeper_config_map_name = "some-name" + } + image = {} + } } diff --git a/examples/data-sources/k8s_listeners_stackable_tech_listener_class_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_listeners_stackable_tech_listener_class_v1alpha1_manifest/data-source.tf index b1df8dc0e..211f308d7 100644 --- a/examples/data-sources/k8s_listeners_stackable_tech_listener_class_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_listeners_stackable_tech_listener_class_v1alpha1_manifest/data-source.tf @@ -1,6 +1,8 @@ data "k8s_listeners_stackable_tech_listener_class_v1alpha1_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + service_type = "ClusterIP" } } diff --git a/examples/data-sources/k8s_listeners_stackable_tech_listener_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_listeners_stackable_tech_listener_v1alpha1_manifest/data-source.tf index b50aad319..618f43acd 100644 --- a/examples/data-sources/k8s_listeners_stackable_tech_listener_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_listeners_stackable_tech_listener_v1alpha1_manifest/data-source.tf @@ -3,4 +3,5 @@ data "k8s_listeners_stackable_tech_listener_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = {} } diff --git a/examples/data-sources/k8s_listeners_stackable_tech_pod_listeners_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_listeners_stackable_tech_pod_listeners_v1alpha1_manifest/data-source.tf index 0408d2c52..7aed4bba1 100644 --- a/examples/data-sources/k8s_listeners_stackable_tech_pod_listeners_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_listeners_stackable_tech_pod_listeners_v1alpha1_manifest/data-source.tf @@ -3,4 +3,9 @@ data "k8s_listeners_stackable_tech_pod_listeners_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + listeners = { + scope = "Cluster" + } + } } diff --git a/examples/data-sources/k8s_nifi_stackable_tech_nifi_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_nifi_stackable_tech_nifi_cluster_v1alpha1_manifest/data-source.tf index 8a5ab756a..f60f35f5e 100644 --- a/examples/data-sources/k8s_nifi_stackable_tech_nifi_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_nifi_stackable_tech_nifi_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,14 @@ data "k8s_nifi_stackable_tech_nifi_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + authentication = [] + sensitive_properties = { + key_secret = "some-secret" + } + zookeeper_config_map_name = "some-name" + } + image = {} + } } diff --git a/examples/data-sources/k8s_opa_stackable_tech_opa_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_opa_stackable_tech_opa_cluster_v1alpha1_manifest/data-source.tf index 88138f8bc..06edc7a17 100644 --- a/examples/data-sources/k8s_opa_stackable_tech_opa_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_opa_stackable_tech_opa_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,10 @@ data "k8s_opa_stackable_tech_opa_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + image = {} + servers = { + role_groups = {} + } + } } diff --git a/examples/data-sources/k8s_secrets_stackable_tech_secret_class_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_secrets_stackable_tech_secret_class_v1alpha1_manifest/data-source.tf index 124f4c2a9..cdedf1616 100644 --- a/examples/data-sources/k8s_secrets_stackable_tech_secret_class_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_secrets_stackable_tech_secret_class_v1alpha1_manifest/data-source.tf @@ -1,6 +1,8 @@ data "k8s_secrets_stackable_tech_secret_class_v1alpha1_manifest" "example" { metadata = { name = "some-name" - + } + spec = { + backend = {} } } diff --git a/examples/data-sources/k8s_spark_stackable_tech_spark_application_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_spark_stackable_tech_spark_application_v1alpha1_manifest/data-source.tf index 9d7a8504a..67b1ef8fa 100644 --- a/examples/data-sources/k8s_spark_stackable_tech_spark_application_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_spark_stackable_tech_spark_application_v1alpha1_manifest/data-source.tf @@ -3,4 +3,9 @@ data "k8s_spark_stackable_tech_spark_application_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + main_application_file = "some-file" + mode = "cluster" + spark_image = {} + } } diff --git a/examples/data-sources/k8s_spark_stackable_tech_spark_history_server_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_spark_stackable_tech_spark_history_server_v1alpha1_manifest/data-source.tf index be04493d0..5cb939d11 100644 --- a/examples/data-sources/k8s_spark_stackable_tech_spark_history_server_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_spark_stackable_tech_spark_history_server_v1alpha1_manifest/data-source.tf @@ -3,4 +3,11 @@ data "k8s_spark_stackable_tech_spark_history_server_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = { + image = {} + log_file_directory = {} + nodes = { + role_groups = {} + } + } } diff --git a/examples/data-sources/k8s_superset_stackable_tech_druid_connection_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_superset_stackable_tech_druid_connection_v1alpha1_manifest/data-source.tf index 8b2f84916..bc5b27b57 100644 --- a/examples/data-sources/k8s_superset_stackable_tech_druid_connection_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_superset_stackable_tech_druid_connection_v1alpha1_manifest/data-source.tf @@ -3,4 +3,12 @@ data "k8s_superset_stackable_tech_druid_connection_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = { + druid = { + name = "some-name" + } + superset = { + name = "some-name" + } + } } diff --git a/examples/data-sources/k8s_superset_stackable_tech_superset_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_superset_stackable_tech_superset_cluster_v1alpha1_manifest/data-source.tf index b681279a6..d425d9889 100644 --- a/examples/data-sources/k8s_superset_stackable_tech_superset_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_superset_stackable_tech_superset_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,10 @@ data "k8s_superset_stackable_tech_superset_cluster_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + credentials_secret = "some-secret" + } + image = {} + } } diff --git a/examples/data-sources/k8s_trino_stackable_tech_trino_catalog_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_trino_stackable_tech_trino_catalog_v1alpha1_manifest/data-source.tf index 6ba7c6371..e49e6325e 100644 --- a/examples/data-sources/k8s_trino_stackable_tech_trino_catalog_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_trino_stackable_tech_trino_catalog_v1alpha1_manifest/data-source.tf @@ -3,4 +3,7 @@ data "k8s_trino_stackable_tech_trino_catalog_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + connector = {} + } } diff --git a/examples/data-sources/k8s_trino_stackable_tech_trino_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_trino_stackable_tech_trino_cluster_v1alpha1_manifest/data-source.tf index 4aa5cb11b..0abcb75f0 100644 --- a/examples/data-sources/k8s_trino_stackable_tech_trino_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_trino_stackable_tech_trino_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,10 @@ data "k8s_trino_stackable_tech_trino_cluster_v1alpha1_manifest" "example" { name = "some-name" namespace = "some-namespace" } + spec = { + cluster_config = { + catalog_label_selector = {} + } + image = {} + } } diff --git a/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest/data-source.tf index 029894832..41fe82c44 100644 --- a/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest/data-source.tf @@ -3,4 +3,7 @@ data "k8s_zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest" "example name = "some-name" namespace = "some-namespace" } + spec = { + image = {} + } } diff --git a/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest/data-source.tf b/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest/data-source.tf index 1a4c57c5a..f81ed47ff 100644 --- a/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest/data-source.tf +++ b/examples/data-sources/k8s_zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest/data-source.tf @@ -3,4 +3,5 @@ data "k8s_zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest" "example" name = "some-name" namespace = "some-namespace" } + spec = {} }