Skip to content

Commit 9eb4602

Browse files
committed
Add ipMode field
1 parent e1c4348 commit 9eb4602

14 files changed

+20
-24
lines changed

docs/data-sources/config_map_v1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Read-Only:
4545

4646

4747

48+
4849
~> **Note:** All arguments including the config map data will be stored in the raw state as plain-text. [Read more about sensitive data in state](/docs/state/sensitive-data.html).
4950

5051
## Example Usage

docs/data-sources/pod.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,12 +1623,6 @@ Read-Only:
16231623

16241624

16251625

1626-
* `type` - Indicates which kind of seccomp profile will be applied. Valid options are:
1627-
* `Localhost` - a profile defined in a file on the node should be used.
1628-
* `RuntimeDefault` - the container runtime default profile should be used.
1629-
* `Unconfined` - (Default) no profile should be applied.
1630-
* `localhost_profile` - Indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if `type` is `Localhost`.
1631-
16321626

16331627
<a id="nestedobjatt--spec--volume--empty_dir"></a>
16341628
### Nested Schema for `spec.volume.empty_dir`

docs/data-sources/pod_v1.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1623,12 +1623,6 @@ Read-Only:
16231623

16241624

16251625

1626-
* `type` - Indicates which kind of seccomp profile will be applied. Valid options are:
1627-
* `Localhost` - a profile defined in a file on the node should be used.
1628-
* `RuntimeDefault` - the container runtime default profile should be used.
1629-
* `Unconfined` - (Default) no profile should be applied.
1630-
* `localhost_profile` - Indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if `type` is `Localhost`.
1631-
16321626

16331627
<a id="nestedobjatt--spec--volume--empty_dir"></a>
16341628
### Nested Schema for `spec.volume.empty_dir`

docs/guides/alpha-manifest-migration-guide.md renamed to docs/guides/alpha-manifest-migration-guide.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
subcategory: ""
2+
layout: "kubernetes"
33
page_title: "Migrating `kubernetes_manifest` resources from the kubernetes-alpha provider"
44
description: |-
55
This guide covers adopting `kubernetes_manifest` resources created using the kubernetes-alpha provider.

docs/guides/getting-started.html.md renamed to docs/guides/getting-started.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
subcategory: ""
2+
layout: "kubernetes"
33
page_title: "Kubernetes: Getting Started with Kubernetes provider"
44
description: |-
55
This guide focuses on configuring authentication to your existing Kubernetes

docs/guides/v2-upgrade-guide.md renamed to docs/guides/v2-upgrade-guide.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
subcategory: ""
2+
layout: "kubernetes"
33
page_title: "Kubernetes: Upgrade Guide for Kubernetes Provider v2.0.0"
44
description: |-
55
This guide covers the changes introduced in v2.0.0 of the Kubernetes provider and what you may need to do to upgrade your configuration.

docs/guides/versioned-resources.md renamed to docs/guides/versioned-resources.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
subcategory: ""
2+
layout: "kubernetes"
33
page_title: "Versioned resource names"
44
description: |-
55
This guide explains the naming conventions for resources and data sources in the Kubernetes provider.

docs/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ The following arguments are supported:
195195
* `token` - (Optional) Token of your service account. Can be sourced from `KUBE_TOKEN`.
196196
* `proxy_url` - (Optional) URL to the proxy to be used for all API requests. URLs with "http", "https", and "socks5" schemes are supported. Can be sourced from `KUBE_PROXY_URL`.
197197
* `exec` - (Optional) Configuration block to use an [exec-based credential plugin] (https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins), e.g. call an external command to receive user credentials.
198-
* `api_version` - (Required) API version to use when decoding the ExecCredentials resource, e.g. `client.authentication.k8s.io/v1beta1`.
199-
* `command` - (Required) Command to execute.
200-
* `args` - (Optional) List of arguments to pass when executing the plugin.
201-
* `env` - (Optional) Map of environment variables to set when executing the plugin.
198+
* `api_version` - (Required) API version to use when decoding the ExecCredentials resource, e.g. `client.authentication.k8s.io/v1beta1`.
199+
* `command` - (Required) Command to execute.
200+
* `args` - (Optional) List of arguments to pass when executing the plugin.
201+
* `env` - (Optional) Map of environment variables to set when executing the plugin.
202202
* `ignore_annotations` - (Optional) List of Kubernetes metadata annotations to ignore across all resources handled by this provider for situations where external systems are managing certain resource annotations. This option does not affect annotations within a template block. Each item is a regular expression.
203203
* `ignore_labels` - (Optional) List of Kubernetes metadata labels to ignore across all resources handled by this provider for situations where external systems are managing certain resource labels. This option does not affect annotations within a template block. Each item is a regular expression.

docs/resources/cron_job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2368,5 +2368,5 @@ resource "kubernetes_cron_job" "demo" {
23682368
## Import
23692369

23702370
```
2371-
$ terraform import kubernetes_cron_job_v1/example default/example
2371+
$ terraform import kubernetes_corn_job_v1/example default/example
23722372
```

docs/resources/network_policy.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ Optional:
8585

8686
Optional:
8787

88+
- `end_port` (Number) endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.
8889
- `port` (String) port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
8990
- `protocol` (String) protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
9091

@@ -225,9 +226,9 @@ Optional:
225226

226227
Optional:
227228

229+
- `end_port` (Number) endPort indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port.
228230
- `port` (String) port represents the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
229231
- `protocol` (String) protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
230-
- `end_port` - (Optional) The end_port indicates that the range of ports from port to endPort if set, inclusive, should be allowed by the policy. Cannot be defined if port is undefined or if port is defined as a named (string) port.
231232

232233

233234

0 commit comments

Comments
 (0)