Skip to content

Commit

Permalink
Updating config_map_v1_data documentation with the binary_data field
Browse files Browse the repository at this point in the history
  • Loading branch information
JaylonmcShan03 committed Nov 4, 2024
1 parent 7b9234c commit e2d0527
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/resources/config_map_v1_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This resource allows Terraform to manage data within a pre-existing ConfigMap. T
- `metadata` (Block List, Min: 1, Max: 1) (see [below for nested schema](#nestedblock--metadata))

### Optional

- `binary_data` (Map of String) BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet. This field only accepts base64-encoded payloads that will be decoded/encoded before being sent/received to/from the apiserver.
- `field_manager` (String) Set the name of the field manager for the specified labels.
- `force` (Boolean) Force overwriting data that is managed outside of Terraform.

Expand Down Expand Up @@ -50,6 +50,9 @@ resource "kubernetes_config_map_v1_data" "example" {
data = {
"owner" = "myteam"
}
binary_data = {
"logo.png" = "HxShiC0rp..."
}
}
```

Expand Down

0 comments on commit e2d0527

Please sign in to comment.