forked from GoogleCloudPlatform/magic-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for image type configuration on the GKE NAP (GoogleCloudP…
…latform#5644) * Add support for image type configuration on the GKE NAP * Add GA and Beta changes for image_type support on NAP * Update validation for image_type on NAP * Put image_type support on GA and change default its value to containerd * Set ignoreCase as true on Validation function for image_type Co-authored-by: megan07 <[email protected]> * Image_type Capitalization Co-authored-by: megan07 <[email protected]>
- Loading branch information
Showing
3 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -197,7 +197,7 @@ and requires the `ip_allocation_policy` block to be defined. By default when thi | |
* `master_auth` - (Optional) The authentication information for accessing the | ||
Kubernetes master. Some values in this block are only returned by the API if | ||
your service account has permission to get credentials for your GKE cluster. If | ||
you see an unexpected diff unsetting your client cert, ensure you have the | ||
you see an unexpected diff unsetting your client cert, ensure you have the | ||
`container.clusters.getCredentials` permission. | ||
Structure is [documented below](#nested_master_auth). | ||
|
||
|
@@ -473,6 +473,8 @@ as "Intel Haswell" or "Intel Sandy Bridge". | |
|
||
* `service_account` - (Optional) The Google Cloud Platform Service Account to be used by the node VMs. | ||
|
||
* `image_type` - (Optional) The default image type used by NAP once a new node pool is being created. Please note that according to the [official documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning#default-image-type) the value must be one of the [COS_CONTAINERD, COS, UBUNTU_CONTAINERD, UBUNTU]. | ||
|
||
<a name="nested_authenticator_groups_config"></a>The `authenticator_groups_config` block supports: | ||
|
||
* `security_group` - (Required) The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format `[email protected]`. | ||
|
@@ -687,7 +689,7 @@ gcfs_config { | |
are preemptible. See the [official documentation](https://cloud.google.com/container-engine/docs/preemptible-vm) | ||
for more information. Defaults to false. | ||
|
||
* `spot` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)) A boolean | ||
* `spot` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)) A boolean | ||
that represents whether the underlying node VMs are spot. See the [official documentation](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms) | ||
for more information. Defaults to false. | ||
|
||
|