Skip to content

Commit

Permalink
[WIP] Add container cluster network policy addon (hashicorp#630)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Sébastien GLON authored and danawillow committed Nov 27, 2017
1 parent 2f48211 commit e267bf4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/r/container_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ output "cluster_ca_certificate" {
* `network` - (Optional) The name or self_link of the Google Compute Engine
network to which the cluster is connected.

* `network_policy` - (Optional) Configuration options for the
[NetworkPolicy](https://kubernetes.io/docs/concepts/services-networking/networkpolicies/)
feature. Structure is documented below.

* `node_config` - (Optional) Parameters used in creating the cluster's nodes.
Structure is documented below.

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

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

The `network_policy` block supports:

* `provider` - (Optional) The selected network policy provider. Defaults to PROVIDER_UNSPECIFIED.

* `enabled` - (Optional) Whether network policy is enabled on the cluster. Defaults to false.

The `node_config` block supports:

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

0 comments on commit e267bf4

Please sign in to comment.