Skip to content

Commit ded80f3

Browse files
authored
Add support for pod security policy (hashicorp#1192)
* move setid calls back * add support for pod security policy * pod security policy docs * Revert "move setid calls back" This reverts commit 0c7b2db. * cleanup * remove comments about disabling update
1 parent fad934f commit ded80f3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/r/container_cluster.html.markdown

+9
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ output "cluster_ca_certificate" {
148148
or set to the same value as `min_master_version` on create. Defaults to the default
149149
version set by GKE which is not necessarily the latest version.
150150

151+
* `pod_security_policy_config` - (Optional, [Beta](/docs/providers/google/index.html#beta-features)) Configuration for the
152+
[PodSecurityPolicy](https://cloud.google.com/kubernetes-engine/docs/how-to/pod-security-policies) feature.
153+
Structure is documented below.
154+
151155
* `project` - (Optional) The ID of the project in which the resource belongs. If it
152156
is not provided, the provider project is used.
153157

@@ -292,6 +296,11 @@ The `guest_accelerator` block supports:
292296

293297
* `count` (Required) - The number of the guest accelerator cards exposed to this instance.
294298

299+
The `pod_security_policy_config` block supports:
300+
301+
* `enabled` (Required) - Enable the PodSecurityPolicy controller for this cluster.
302+
If enabled, pods must be valid under a PodSecurityPolicy to be created.
303+
295304
## Attributes Reference
296305

297306
In addition to the arguments listed above, the following computed attributes are

0 commit comments

Comments
 (0)