Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Sep 20, 2024
1 parent 85aa00a commit 51e9224
Show file tree
Hide file tree
Showing 44 changed files with 286 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ data "k8s_listeners_stackable_tech_listener_v1alpha1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ data "k8s_listeners_stackable_tech_pod_listeners_v1alpha1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
listeners = {
scope = "Cluster"
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ data "k8s_trino_stackable_tech_trino_catalog_v1alpha1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
connector = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ data "k8s_zookeeper_stackable_tech_zookeeper_cluster_v1alpha1_manifest" "example
name = "some-name"
namespace = "some-namespace"
}
spec = {
image = {}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ data "k8s_zookeeper_stackable_tech_zookeeper_znode_v1alpha1_manifest" "example"
name = "some-name"
namespace = "some-namespace"
}
spec = {}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
data "k8s_authentication_stackable_tech_authentication_class_v1alpha1_manifest" "example" {
metadata = {
name = "some-name"

}
spec = {
protocol = {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
}
Loading

0 comments on commit 51e9224

Please sign in to comment.