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
* modifying CA config options
* Adding flag as an option and adding the ability for to be used without providing the four maps.
* adding missed variable in line 207 and 211
* correcting REVISION_NAME_COMMAND_SNIPPET variable in line 211
* updated revision_label process
* Made every CA CERTS map its own command snippet
* Made every CA CERTS map its own command snippet
* testing validations
* testing validations
* Fixed a missing bracket
* Reverting
* added revision_name flag and included option to run --ca flag without --ca_certs flag, to use self-signed certificate
* Fixed whitespacing
* removing another whitespace
* ran make build
* fixed Error: No newline at end of file ./modules/asm/variables.tf
* testing
* ran make build
* In install_asm.sh: Consolidating IF statement for CA_CERT keys, adding {} around single digits numbers for line 24-32, adding echos for CA variables.
Co-authored-by: Bharath KKB <[email protected]>
Copy file name to clipboardExpand all lines: modules/asm/README.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,10 +52,10 @@ To deploy this config:
52
52
| asm\_git\_tag | ASM git tag to deploy. This module supports versions `1.8` and `1.9`. You can get the exact `asm_git_tag` by running the command `install_asm --version`. The ASM git tab should be of the form `1.9.3-asm.2+config5`. You can also see all ASM git tags by running `curl https://storage.googleapis.com/csm-artifacts/asm/STABLE_VERSIONS`. You must provide the full and exact git tag. This variable is optional. Leaving it empty (default) will download the latest `install_asm` script for the version provided by the `asm_version` variable. |`string`|`""`| no |
53
53
| asm\_version | ASM version to deploy. This module supports versions `1.8` and `1.9`. Available versions are documented in https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages|`string`|`"1.9"`| no |
54
54
| ca | Sets CA option. Possible values are `meshca` or `citadel`. Additional documentation on Citadel is available at https://cloud.google.com/service-mesh/docs/scripted-install/gke-install#installation_with_citadel_as_the_ca.|`string`|`"meshca"`| no |
55
-
| ca\_certs | Sets CA certificate file paths when `ca` is set to `citadel`. These values must be provided when using Citadel as CA. Additional documentation on Citadel is available at https://cloud.google.com/service-mesh/docs/scripted-install/gke-install#installation_with_citadel_as_the_ca.|`map`|`{}`| no |
55
+
| ca\_certs | Sets CA certificate file paths when `ca` is set to `citadel`. These values must be provided when using Citadel as CA. Additional documentation on Citadel is available at https://cloud.google.com/service-mesh/docs/scripted-install/gke-install#installation_with_citadel_as_the_ca.|`map(any)`|`{}`| no |
| cluster\_name | The unique name to identify the cluster in ASM. |`string`| n/a | yes |
58
-
| custom\_overlays | Comma separated list of custom\_overlay file paths. Works with in-cluster control plane only. Additional documentation available at https://cloud.google.com/service-mesh/docs/scripted-install/gke-install#installation_with_an_overlay_file|`list`|`[]`| no |
58
+
| custom\_overlays | Comma separated list of custom\_overlay file paths. Works with in-cluster control plane only. Additional documentation available at https://cloud.google.com/service-mesh/docs/scripted-install/gke-install#installation_with_an_overlay_file|`list(any)`|`[]`| no |
59
59
| enable\_all | Sets `--enable_all` option if true. |`bool`|`false`| no |
60
60
| enable\_cluster\_labels | Sets `--enable_cluster_labels` option if true. |`bool`|`false`| no |
61
61
| enable\_cluster\_roles | Sets `--enable_cluster_roles` option if true. |`bool`|`false`| no |
@@ -70,9 +70,10 @@ To deploy this config:
70
70
| location | The location (zone or region) this cluster has been created in. |`string`| n/a | yes |
71
71
| managed\_control\_plane | ASM managed control plane boolean. Determines whether to install ASM managed control plane. Installing ASM managed control plane does not install gateways. Documentation on how to install gateways with ASM MCP can be found at https://cloud.google.com/service-mesh/docs/managed-control-plane#install_istio_gateways_optional.|`bool`|`false`| no |
72
72
| mode | ASM mode for deployment. Supported modes are `install` and `upgrade`. |`string`|`"install"`| no |
73
-
| options | Comma separated list of options. Works with in-cluster control plane only. Supported options are documented in https://cloud.google.com/service-mesh/docs/enable-optional-features.|`list`|`[]`| no |
73
+
| options | Comma separated list of options. Works with in-cluster control plane only. Supported options are documented in https://cloud.google.com/service-mesh/docs/enable-optional-features.|`list(any)`|`[]`| no |
74
74
| outdir | Sets `--outdir` option. |`string`|`"none"`| no |
75
75
| project\_id | The project in which the resource belongs. |`string`| n/a | yes |
76
+
| revision\_name | Sets `--revision-name` option. |`string`|`"none"`| no |
76
77
| service\_account | The GCP Service Account email address used to deploy ASM. |`string`|`""`| no |
77
78
| service\_account\_key\_file | Path to service account key file to auth as for running `gcloud container clusters get-credentials`. |`string`|`""`| no |
78
79
| skip\_validation | Sets `_CI_NO_VALIDATE` variable. Determines whether the script should perform validation checks for prerequisites such as IAM roles, Google APIs etc. |`bool`|`false`| no |
description="Comma separated list of options. Works with in-cluster control plane only. Supported options are documented in https://cloud.google.com/service-mesh/docs/enable-optional-features."
98
-
type=list
98
+
type=list(any)
99
99
default=[]
100
100
}
101
101
102
102
variable"custom_overlays" {
103
103
description="Comma separated list of custom_overlay file paths. Works with in-cluster control plane only. Additional documentation available at https://cloud.google.com/service-mesh/docs/scripted-install/gke-install#installation_with_an_overlay_file"
104
-
type=list
104
+
type=list(any)
105
105
default=[]
106
106
}
107
107
@@ -167,18 +167,28 @@ variable "ca" {
167
167
168
168
variable"ca_certs" {
169
169
description="Sets CA certificate file paths when `ca` is set to `citadel`. These values must be provided when using Citadel as CA. Additional documentation on Citadel is available at https://cloud.google.com/service-mesh/docs/scripted-install/gke-install#installation_with_citadel_as_the_ca."
error_message="One or more required keys for ca_certs are missing. If you plan to use the self-signed certificate, do not declare the ca_certs variable."
181
+
}
178
182
}
179
183
180
184
variable"iam_member" {
181
185
description="The GCP member email address to grant IAM roles to. If impersonate_service_account or service_account is set, roles are granted to that SA."
0 commit comments