Skip to content

Commit e267bf4

Browse files
Sébastien GLONdanawillow
Sébastien GLON
authored andcommitted
[WIP] Add container cluster network policy addon (hashicorp#630)
* replalce TypeList by TypeSet * Add network policy * test improvement * correct test * Add cluster network polocy enabled * Replalce network_policy addons by global network_policy enabled * Update node_config.go * Update resource_container_cluster.go * clean * clean * Correct PR * COrrect PR * pr * fix test to use same name * add more documentation
1 parent 2f48211 commit e267bf4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/r/container_cluster.html.markdown

+10
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ output "cluster_ca_certificate" {
126126
* `network` - (Optional) The name or self_link of the Google Compute Engine
127127
network to which the cluster is connected.
128128

129+
* `network_policy` - (Optional) Configuration options for the
130+
[NetworkPolicy](https://kubernetes.io/docs/concepts/services-networking/networkpolicies/)
131+
feature. Structure is documented below.
132+
129133
* `node_config` - (Optional) Parameters used in creating the cluster's nodes.
130134
Structure is documented below.
131135

@@ -204,6 +208,12 @@ The `master_authorized_networks_config.cidr_blocks` block supports:
204208

205209
* `display_name` - (Optional) Field for users to identify CIDR blocks.
206210

211+
The `network_policy` block supports:
212+
213+
* `provider` - (Optional) The selected network policy provider. Defaults to PROVIDER_UNSPECIFIED.
214+
215+
* `enabled` - (Optional) Whether network policy is enabled on the cluster. Defaults to false.
216+
207217
The `node_config` block supports:
208218

209219
* `disk_size_gb` - (Optional) Size of the disk attached to each node, specified

0 commit comments

Comments
 (0)