Skip to content

Commit

Permalink
fix ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
dfry committed May 21, 2023
1 parent f841b73 commit ec7a46b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion terraform/foundation-install/loki.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,22 @@ module "generate_loki_files" {
admin_secret = "grafana-admin-secret"
admin_user_name = "grafana-admin"
loki_sync_wave = var.loki_sync_wave
ingress_class = var.grafana_ingress_internal_lb ? var.internal_ingress_class_name : var.external_ingress_class_name

}
file_list = ["chart/Chart.yaml", "chart/values.yaml", "external-secrets/extdns-extsecret.yaml"]
file_list = ["chart/Chart.yaml", "chart/values.yaml", "custom-resources/password-policy.yaml", "custom-resources/random-secret.yaml", "custom-resources/vault-secret.yaml"]
template_path = "${path.module}/generate-files/templates/loki"
output_path = "${var.output_dir}/loki"
app_file = "loki-app.yaml"
app_output_path = "${var.output_dir}/app-yamls"
}


variable "grafana_ingress_internal_lb" {
type = bool
description = "grafana_ingress_internal_lb"
default = true
}
variable "enable_grafana_oidc" {
type = bool
default = false
Expand Down

0 comments on commit ec7a46b

Please sign in to comment.