Skip to content

Commit

Permalink
Update Cilium cluster mesh doc
Browse files Browse the repository at this point in the history
  • Loading branch information
littlejo committed Sep 16, 2024
1 parent 1c42f67 commit a80bc73
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/resources/clustermesh_connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Cluster Mesh connection resource. This is equivalent to cilium cli: `cilium clus

```terraform
resource "cilium_clustermesh_connection" "example" {
destination_context = "context-2"
destination_contexts = ["context-2"]
}
provider "cilium" {
Expand All @@ -33,7 +33,8 @@ provider "cilium" {

### Optional

- `destination_context` (String) Kubernetes configuration context of destination cluster
- `destination_contexts` (List of String) Kubernetes configuration contexts of destination clusters
- `connection_mode` (String) Connection Mode { `unicast` | `bidirectional` | `mesh` } (Default: `bidirectional`).

### Read-Only

Expand Down
2 changes: 1 addition & 1 deletion examples/resources/clustermesh_connection/example_1.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "cilium_clustermesh_connection" "example" {
destination_context = "context-2"
destination_contexts = ["context-2"]
}

provider "cilium" {
Expand Down
3 changes: 2 additions & 1 deletion templates/resources/clustermesh_connection.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Cluster Mesh connection resource. This is equivalent to cilium cli: `cilium clus

### Optional

- `destination_context` (String) Kubernetes configuration context of destination cluster
- `destination_contexts` (List of String) Kubernetes configuration contexts of destination clusters
- `connection_mode` (String) Connection Mode { `unicast` | `bidirectional` | `mesh` } (Default: `bidirectional`).

### Read-Only

Expand Down

0 comments on commit a80bc73

Please sign in to comment.