Skip to content

Commit

Permalink
fix(priority-class): DMVP-5359 add priority class
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed Sep 25, 2024
1 parent 325938d commit 7c26f25
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion fluent-bit.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module "fluent-bit" {
log_group_name = try(var.fluent_bit_configs.log_group_name, "") != "" ? var.fluent_bit_configs.log_group_name : "fluent-bit-cloudwatch-${module.eks-cluster[0].cluster_id}"
system_log_group_name = try(var.fluent_bit_configs.system_log_group_name, "")
log_retention_days = try(var.fluent_bit_configs.log_retention_days, 90)
imagePullSecrets = try(var.fluent_bit_configs.imagePullSecrets, [])
image_pull_secrets = try(var.fluent_bit_configs.image_pull_secrets, [])
values_yaml = try(var.fluent_bit_configs.values_yaml, "")
Expand Down
1 change: 0 additions & 1 deletion modules/efs-csi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ No modules.
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | Parent cluster name | `string` | n/a | yes |
| <a name="input_cluster_oidc_arn"></a> [cluster\_oidc\_arn](#input\_cluster\_oidc\_arn) | oidc arn of cluster | `string` | n/a | yes |
| <a name="input_efs_id"></a> [efs\_id](#input\_efs\_id) | Id of EFS filesystem in AWS (Required) | `string` | n/a | yes |
| <a name="input_helm_install"></a> [helm\_install](#input\_helm\_install) | Helm Install | `bool` | `false` | no |
| <a name="input_storage_classes"></a> [storage\_classes](#input\_storage\_classes) | Additional storage class configurations: by default, 2 storage classes are created - efs-sc and efs-sc-root which has 0 uid. One can add another storage classes besides these 2. | <pre>list(object({<br> name : string<br> provisioning_mode : optional(string, "efs-ap")<br> file_system_id : string<br> directory_perms : optional(string, "755")<br> base_path : optional(string, "/")<br> uid : optional(number)<br> }))</pre> | `[]` | no |

## Outputs
Expand Down
1 change: 0 additions & 1 deletion modules/efs-csi/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resource "helm_release" "efs-driver" {
count = var.helm_install ? 1 : 0
name = "efs-csi"
repository = "https://kubernetes-sigs.github.io/aws-efs-csi-driver/"
chart = "aws-efs-csi-driver"
Expand Down
6 changes: 0 additions & 6 deletions modules/efs-csi/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ variable "cluster_name" {
type = string
}

variable "helm_install" {
description = "Helm Install"
type = bool
default = false
}

variable "storage_classes" {
description = "Additional storage class configurations: by default, 2 storage classes are created - efs-sc and efs-sc-root which has 0 uid. One can add another storage classes besides these 2."
type = list(object({
Expand Down
1 change: 0 additions & 1 deletion modules/fluent-bit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ No modules.
| <a name="input_eks_oidc_root_ca_thumbprint"></a> [eks\_oidc\_root\_ca\_thumbprint](#input\_eks\_oidc\_root\_ca\_thumbprint) | n/a | `string` | n/a | yes |
| <a name="input_fluent_bit_config"></a> [fluent\_bit\_config](#input\_fluent\_bit\_config) | You can add other inputs,outputs and filters which module doesn't have by default | `any` | <pre>{<br> "cloudwatch_outputs_enabled": true,<br> "filters": "",<br> "inputs": "",<br> "outputs": ""<br>}</pre> | no |
| <a name="input_fluent_bit_name"></a> [fluent\_bit\_name](#input\_fluent\_bit\_name) | Container resource name. | `string` | `"fluent-bit"` | no |
| <a name="input_imagePullSecrets"></a> [imagePullSecrets](#input\_imagePullSecrets) | Secret name which can we use for download image | `list(string)` | `[]` | no |
| <a name="input_image_pull_secrets"></a> [image\_pull\_secrets](#input\_image\_pull\_secrets) | Secret name which can we use for download image | `list(string)` | `[]` | no |
| <a name="input_kube_namespaces"></a> [kube\_namespaces](#input\_kube\_namespaces) | Kubernates namespaces | `list(string)` | <pre>[<br> "kube.*",<br> "meta.*",<br> "adot.*",<br> "devops.*",<br> "cert-manager.*",<br> "git.*",<br> "opentelemetry.*",<br> "stakater.*",<br> "renovate.*"<br>]</pre> | no |
| <a name="input_log_filters"></a> [log\_filters](#input\_log\_filters) | Fluent bit doesn't send logs if message consists of this values | `list(string)` | <pre>[<br> "kube-probe",<br> "health",<br> "prometheus",<br> "liveness"<br>]</pre> | no |
Expand Down
5 changes: 0 additions & 5 deletions modules/fluent-bit/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ resource "helm_release" "fluent-bit" {
value = var.cluster_name
}

set {
name = "imagePullSecrets"
value = var.imagePullSecrets
}

set {
name = "serviceAccount.name"
value = "fluent-bit"
Expand Down
6 changes: 0 additions & 6 deletions modules/fluent-bit/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@ variable "namespace" {
description = "k8s namespace fluent-bit should be deployed into."
}

variable "imagePullSecrets" {
type = list(string)
default = []
description = "Secret name which can we use for download image"
}

variable "create_namespace" {
type = bool
default = false
Expand Down

0 comments on commit 7c26f25

Please sign in to comment.