make dashy publicly accessible [ci skip]

This commit is contained in:
Viktor Barzin 2023-10-23 22:05:54 +00:00
parent a9e8a88e16
commit 3d7ca3c57d
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 10 additions and 3 deletions

View file

@ -1,7 +1,7 @@
variable "tls_secret_name" {}
variable "alertmanager_account_password" {}
variable "idrac_host" {
default = "idrac"
default = "192.168.1.4"
}
variable "idrac_username" {
default = "root"
@ -296,6 +296,10 @@ resource "kubernetes_config_map" "redfish-config" {
metadata {
name = "redfish-exporter-config"
namespace = "monitoring"
annotations = {
"reloader.stakater.com/match" = "true"
}
}
data = {
"config.yml" = <<-EOF
@ -321,6 +325,9 @@ resource "kubernetes_deployment" "idrac-redfish" {
labels = {
app = "idrac-redfish-exporter"
}
annotations = {
"reloader.stakater.com/search" = "true"
}
}
spec {
replicas = 1