This repository was archived by the owner on Sep 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed
Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change @@ -68,4 +68,20 @@ resource "helm_release" "aws-efs-csi-driver" {
6868 name = " storageClasses[0].volumeBindingMode"
6969 value = " Immediate"
7070 }
71+ set {
72+ name = " controller.tolerations[0].key"
73+ value = var.toleration_key
74+ }
75+ set {
76+ name = " controller.tolerations[0].value"
77+ value = var.toleration_value
78+ }
79+ set {
80+ name = " controller.tolerations[0].operator"
81+ value = var.toleration_operator
82+ }
83+ set {
84+ name = " controller.tolerations[0].effect"
85+ value = var.toleration_effect
86+ }
7187}
Original file line number Diff line number Diff line change @@ -14,6 +14,29 @@ variable "permissions_boundary" {
1414 # arn:aws:iam::373346310182:policy/cms-cloud-admin/developer-boundary-policy
1515}
1616
17+ variable "toleration_key" {
18+ type = string
19+ default = " "
20+ description = " toleration key"
21+ }
22+
23+ variable "toleration_value" {
24+ type = string
25+ default = " "
26+ description = " toleration value"
27+ }
28+
29+ variable "toleration_operator" {
30+ type = string
31+ default = " "
32+ description = " toleration operator"
33+ }
34+
35+ variable "toleration_effect" {
36+ type = string
37+ default = " "
38+ description = " toleration effect"
39+ }
1740
1841# ## Helm variables
1942variable "helm_namespace" {
@@ -46,4 +69,4 @@ variable "vpc_id" {
4669variable "private_subnet_ids" {
4770 type = list (any )
4871 default = []
49- }
72+ }
You can’t perform that action at this time.
0 commit comments