add cluster secret dbaas as it is needed for pma [ci skip]

This commit is contained in:
Viktor Barzin 2023-11-24 12:55:55 +00:00
parent fdb4d6228a
commit 13fda3424a
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
2 changed files with 13 additions and 13 deletions

View file

@ -241,19 +241,19 @@ resource "kubernetes_deployment" "mysql" {
# }
# }
# resource "kubernetes_secret" "cluster-password" {
# metadata {
# name = "cluster-secret"
# namespace = "dbaas"
# annotations = {
# "reloader.stakater.com/match" = "true"
# }
# }
# type = "Opaque"
# data = {
# "ROOT_PASSWORD" = var.dbaas_root_password
# }
# }
resource "kubernetes_secret" "cluster-password" {
metadata {
name = "cluster-secret"
namespace = "dbaas"
annotations = {
"reloader.stakater.com/match" = "true"
}
}
type = "Opaque"
data = {
"ROOT_PASSWORD" = var.dbaas_root_password
}
}
# resource "kubernetes_ingress_v1" "dbaas" {
# metadata {

Binary file not shown.