Skip to content

Commit

Permalink
feat: unify binary key name
Browse files Browse the repository at this point in the history
  • Loading branch information
smalltown committed Dec 7, 2020
1 parent 411f5c9 commit 1fcdb91
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/variables/aws/elastikube.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ This document gives an overview of variables used in the AWS platform of the ela
| master\_instance\_config | (Optional) Desired master nodes configuration. | <pre>object({<br> count = number<br> image_id = string<br> ec2_type = list(string)<br> root_volume_iops = number<br> root_volume_size = number<br> root_volume_type = string<br><br> on_demand_base_capacity = number<br> on_demand_percentage_above_base_capacity = number<br> spot_instance_pools = number<br> })</pre> | <pre>{<br> "count": 1,<br> "ec2_type": [<br> "t3.medium",<br> "t2.medium"<br> ],<br> "image_id": "ami-0b75e2f157200889f",<br> "on_demand_base_capacity": 0,<br> "on_demand_percentage_above_base_capacity": 100,<br> "root_volume_iops": 100,<br> "root_volume_size": 256,<br> "root_volume_type": "gp2",<br> "spot_instance_pools": 1<br>}</pre> |
| name | (Required) Name of the cluster. | `string` | n/a |
| network\_plugin | Desired network plugin which is use for Kubernetes cluster. e.g. 'flannel', 'amazon-vpc' | `string` | `"amazon-vpc"` |
| override\_binaries | Desired binaries(cni\_plugin) url and checksum. | <pre>map(object({<br> url = string<br> checksum = string<br> }))</pre> | `{}` |
| override\_binaries | Desired binaries(cni\_plugin) url and checksum. | <pre>map(object({<br> source = string<br> checksum = string<br> }))</pre> | `{}` |
| override\_containers | Desired containers(kube-apiserver, kube-controller-manager, cfssl, coredns, and so on) repo and tag. | <pre>map(object({<br> repo = string<br> tag = string<br> }))</pre> | `{}` |
| private\_subnet\_ids | (Required) List of private subnet IDs. Must be in at least two different availability zones.<br> Cross-account elastic network interfaces will be created in these subnets to allow<br> communication between your worker nodes and the Kubernetes control plane. | `list(string)` | `[]` |
| public\_subnet\_ids | (Required) List of public subnet IDs. Must be in at least two different availability zones.<br> Cross-account elastic network interfaces will be created in these subnets to allow<br> communication between your worker nodes and the Kubernetes control plane. | `list(string)` | `[]` |
Expand Down
2 changes: 1 addition & 1 deletion docs/variables/aws/kube-worker.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This document gives an overview of variables used in the AWS platform of the kub

| Name | Description | Type | Default |
|------|-------------|------|---------|
| binaries | Desired binaries(cni\_plugin) url and checksum. | <pre>map(object({<br> url = string<br> checksum = string<br> }))</pre> | `{}` |
| binaries | Desired binaries(cni\_plugin) url and checksum. | <pre>map(object({<br> source = string<br> checksum = string<br> }))</pre> | `{}` |
| cloud\_config | The cloud provider configuration. | <pre>object({<br> provider = string<br> path = string<br> })</pre> | <pre>{<br> "path": "",<br> "provider": ""<br>}</pre> |
| containers | Desired containers(kube-apiserver, kube-controller-manager, cfssl, coredns, and so on) repo and tag. | <pre>map(object({<br> repo = string<br> tag = string<br> }))</pre> | `{}` |
| enable\_autoscaler | Enable to add autoscaler tag or not | `string` | `"false"` |
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/elastikube/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "kubernetes_version" {
variable "override_binaries" {
description = "Desired binaries(cni_plugin) url and checksum."
type = map(object({
url = string
source = string
checksum = string
}))
default = {}
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/kube-master/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "kubernetes_version" {
variable "binaries" {
description = "Desired binaries(cni_plugin) url and checksum."
type = map(object({
url = string
source = string
checksum = string
}))
default = {}
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/kube-worker/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "kubernetes_version" {
variable "binaries" {
description = "Desired binaries(cni_plugin) url and checksum."
type = map(object({
url = string
source = string
checksum = string
}))
default = {}
Expand Down

0 comments on commit 1fcdb91

Please sign in to comment.