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 Jun 18, 2024
1 parent 226ee37 commit 191738d
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ data "k8s_application_networking_k8s_aws_target_group_policy_v1alpha1_manifest"
name = "some-name"
namespace = "some-namespace"
}
spec = {
target_ref = {
group = "v1"
kind = "Pod"
name = "some-pod"
}
}
}
```

Expand Down
9 changes: 9 additions & 0 deletions docs/data-sources/druid_apache_org_druid_v1alpha1_manifest.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ data "k8s_druid_apache_org_druid_v1alpha1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
common_runtime_properties = "some-property"
nodes = {
druid_port = 12345
node_config_mount_path = "/mnt/path"
node_type = "overlord"
runtime_properties = "some-property"
}
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ data "k8s_pgv2_percona_com_percona_pg_upgrade_v2_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
from_postgres_version = 15
to_postgres_version = 16
postgres_cluster_name = "some-cluster"
image = "some-image"
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,11 @@ data "k8s_application_networking_k8s_aws_target_group_policy_v1alpha1_manifest"
name = "some-name"
namespace = "some-namespace"
}
spec = {
target_ref = {
group = "v1"
kind = "Pod"
name = "some-pod"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,13 @@ data "k8s_druid_apache_org_druid_v1alpha1_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
common_runtime_properties = "some-property"
nodes = {
druid_port = 12345
node_config_mount_path = "/mnt/path"
node_type = "overlord"
runtime_properties = "some-property"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ data "k8s_pgv2_percona_com_percona_pg_upgrade_v2_manifest" "example" {
name = "some-name"
namespace = "some-namespace"
}
spec = {
from_postgres_version = 15
to_postgres_version = 16
postgres_cluster_name = "some-cluster"
image = "some-image"
}
}

0 comments on commit 191738d

Please sign in to comment.