You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: anthos-attached-clusters/kind/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Sandbox Example to Attach a [kind](https://kind.sigs.k8s.io/) Cluster using Terraform
1
+
# Sandbox Example to Attach a [kind](https://kind.sigs.k8s.io/) Cluster and install Service Mesh using Terraform
2
2
3
3
## Prerequisites
4
4
The sample is meant just to provide a local example for experimentation. It assumes an environment where [`kind`](https://kind.sigs.k8s.io/) is available and could otherwise be run on the command line, e.g. `kind create cluster`.
Copy file name to clipboardExpand all lines: anthos-attached-clusters/modules/attached-install-mesh/README.md
+21-4
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,16 @@ Sample module to install [Google Cloud Service Mesh](https://cloud.google.com/pr
6
6
7
7
```
8
8
module "install-mesh" {
9
-
source = "./attached-install-mesh"
9
+
source = "github.com/GoogleCloudPlatform/anthos-samples.git//anthos-attached-clusters/modules/attached-install-mesh?ref=3bde26802919539d27ae9295a8b936d7aa827eb3" #TODO: Use ref= release tag e.g. v0.15.4
10
10
11
-
kubeconfig = kind_cluster.cluster.kubeconfig_path
12
-
context = local.cluster_context
13
-
fleet_id = data.google_project.project.project_id
11
+
kubeconfig = "PATH TO CLUSTER CONTEXT FILE"
12
+
context = "CLUSTER CONTEXT"
13
+
fleet_id = "FLEET PROJECT ID"
14
+
15
+
asmcli_enable_cluster_roles = true
16
+
asmcli_enable_cluster_labels = true
17
+
asmcli_enable_gcp_components = true
18
+
asmcli_enable_namespace_creation = true
14
19
}
15
20
```
16
21
@@ -20,7 +25,19 @@ module "install-mesh" {
20
25
| Name | Description | Type | Default | Required |
0 commit comments