fix
This commit is contained in:
@@ -8,7 +8,7 @@ data "kubernetes_secret_v1" "postgresql_password" {
|
|||||||
locals {
|
locals {
|
||||||
pg-username = data.kubernetes_secret_v1.postgresql_password.data["username"]
|
pg-username = data.kubernetes_secret_v1.postgresql_password.data["username"]
|
||||||
pg-password = data.kubernetes_secret_v1.postgresql_password.data["password"]
|
pg-password = data.kubernetes_secret_v1.postgresql_password.data["password"]
|
||||||
pg-host = "${var.db-source.name}-pg-rw.${var.db-source.namespace}.svc"
|
pg-host = "${var.instance}-${var.component}-rw.${var.namespace}.svc"
|
||||||
|
|
||||||
sorted-db-name = reverse(distinct(sort([
|
sorted-db-name = reverse(distinct(sort([
|
||||||
for db in var.databases: db.name
|
for db in var.databases: db.name
|
||||||
|
|||||||
@@ -6,6 +6,28 @@ metadata:
|
|||||||
name: dataset-pg
|
name: dataset-pg
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
storage:
|
||||||
|
default: 8Gi
|
||||||
|
examples:
|
||||||
|
- 8Gi
|
||||||
|
type: string
|
||||||
|
extentions:
|
||||||
|
default:
|
||||||
|
pool:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- pool:
|
||||||
|
enable: false
|
||||||
|
properties:
|
||||||
|
pool:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -60,33 +82,6 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
roles:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
type: string
|
|
||||||
type: array
|
|
||||||
extentions:
|
|
||||||
default:
|
|
||||||
pool:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- pool:
|
|
||||||
enable: false
|
|
||||||
properties:
|
|
||||||
pool:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
examples:
|
|
||||||
- 1
|
|
||||||
type: integer
|
|
||||||
databases:
|
databases:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
@@ -96,11 +91,16 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
storage:
|
replicas:
|
||||||
default: 8Gi
|
default: 1
|
||||||
examples:
|
examples:
|
||||||
- 8Gi
|
- 1
|
||||||
type: string
|
type: integer
|
||||||
|
roles:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
type: string
|
||||||
|
type: array
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user