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
Added support for workload-vulnerability-scanning and workload-config-audit (#7310) (#5255)
* Added support for workload-vulnerability-scanning and workload-config-audit
Fixeshashicorp/terraform-provider-google#12778
* Made google_container_cluster protect_config field optional
* made container_cluster protect_config.workload_config.audit_mode required
* Made fields inside protect_config as atleastOneOf in container_cluster resource.
---------
Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Avinash Kumar <[email protected]>
Copy file name to clipboardExpand all lines: website/docs/r/container_cluster.html.markdown
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,9 @@ subnetwork in which the cluster's instances are launched.
357
357
*`gateway_api_config` - (Optional)
358
358
Configuration for [GKE Gateway API controller](https://cloud.google.com/kubernetes-engine/docs/concepts/gateway-api). Structure is [documented below](#nested_gateway_api_config).
*`disabled` - (Required) Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when defaultSnatStatus is disabled.When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic
@@ -1141,6 +1144,16 @@ and all pods running on the nodes. Specified as a map from the key, such as
1141
1144
1142
1145
*`channel` - (Required) Which Gateway Api channel should be used. `CHANNEL_DISABLED` or `CHANNEL_STANDARD`.
*`workload_config` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)) WorkloadConfig defines which actions are enabled for a cluster's workload configurations. Structure is [documented below](#nested_workload_config)
1150
+
1151
+
*`workload_vulnerability_mode` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)) Sets which mode to use for Protect workload vulnerability scanning feature. Accepted values are WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED, DISABLED, BASIC.
*`auditMode` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html)) WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster. Accepted values are MODE_UNSPECIFIED, DISABLED, BASIC.
1156
+
1144
1157
## Attributes Reference
1145
1158
1146
1159
In addition to the arguments listed above, the following computed attributes are
0 commit comments