Fix linter, improve rabbit
This commit is contained in:
@@ -6,6 +6,10 @@ output "service" {
|
||||
value = "${local.app_slug}-redis.${var.namespace}.svc"
|
||||
}
|
||||
|
||||
output "port" {
|
||||
value = 6379
|
||||
}
|
||||
|
||||
output "db_host" {
|
||||
value = "${local.app_slug}-redis"
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ locals {
|
||||
})
|
||||
cfg = merge({
|
||||
"image" = "${var.images.redis.registry}/${var.images.redis.repository}:${var.images.redis.tag}"
|
||||
"imagePullPolicy" = "${var.images.redis.pull_policy}"
|
||||
"imagePullPolicy" = var.images.redis.pull_policy
|
||||
}, lookup(var.password, "enabled", false) ? {
|
||||
redisSecret = {
|
||||
name = lookup(var.password, "name", var.component)
|
||||
|
||||
@@ -10,10 +10,6 @@ variable "namespace" {
|
||||
variable "labels" {
|
||||
type = map(string)
|
||||
}
|
||||
variable "annotations" {
|
||||
type = map(string)
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "images" {
|
||||
type = object({
|
||||
|
||||
Reference in New Issue
Block a user