add cluster secret dbaas as it is needed for pma [ci skip]
This commit is contained in:
parent
fdb4d6228a
commit
13fda3424a
2 changed files with 13 additions and 13 deletions
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue