fix
This commit is contained in:
@@ -6,20 +6,20 @@ metadata:
|
|||||||
name: dataset-pg
|
name: dataset-pg
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
|
||||||
app_group:
|
app_group:
|
||||||
default: api
|
default: api
|
||||||
examples:
|
examples:
|
||||||
- api
|
- api
|
||||||
type: string
|
type: string
|
||||||
domain_name:
|
ingress_class:
|
||||||
default: your_company.com
|
default: traefik
|
||||||
examples:
|
examples:
|
||||||
- your_company.com
|
- traefik
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
type: string
|
type: string
|
||||||
extentions:
|
extentions:
|
||||||
default:
|
default:
|
||||||
@@ -202,86 +202,6 @@ options:
|
|||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
roles:
|
|
||||||
default: []
|
|
||||||
items:
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
default: alt-account
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
images:
|
|
||||||
default:
|
|
||||||
postgresql:
|
|
||||||
registry: ghcr.io
|
|
||||||
repository: cloudnative-pg/postgresql
|
|
||||||
tag: 15.3
|
|
||||||
examples:
|
|
||||||
- postgresql:
|
|
||||||
registry: ghcr.io
|
|
||||||
repository: cloudnative-pg/postgresql
|
|
||||||
tag: 15.3
|
|
||||||
properties:
|
|
||||||
postgresql:
|
|
||||||
default:
|
|
||||||
registry: ghcr.io
|
|
||||||
repository: cloudnative-pg/postgresql
|
|
||||||
tag: 15.3
|
|
||||||
properties:
|
|
||||||
registry:
|
|
||||||
default: ghcr.io
|
|
||||||
type: string
|
|
||||||
repository:
|
|
||||||
default: cloudnative-pg/postgresql
|
|
||||||
type: string
|
|
||||||
tag:
|
|
||||||
default: 15.3
|
|
||||||
type: number
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
storage:
|
|
||||||
default:
|
|
||||||
postgres:
|
|
||||||
size: 10Gi
|
|
||||||
examples:
|
|
||||||
- postgres:
|
|
||||||
size: 10Gi
|
|
||||||
properties:
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
size: 10Gi
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 10Gi
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
type: object
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
postgres:
|
|
||||||
default:
|
|
||||||
replicas: 1
|
|
||||||
examples:
|
|
||||||
- replicas: 1
|
|
||||||
properties:
|
|
||||||
replicas:
|
|
||||||
default: 1
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
sub_domain:
|
|
||||||
default: dataset-pg
|
|
||||||
examples:
|
|
||||||
- dataset-pg
|
|
||||||
type: string
|
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -336,6 +256,11 @@ options:
|
|||||||
default: backup-settings
|
default: backup-settings
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
domain_name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
databases:
|
databases:
|
||||||
default: []
|
default: []
|
||||||
items:
|
items:
|
||||||
@@ -345,6 +270,81 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
|
roles:
|
||||||
|
default: []
|
||||||
|
items:
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
default: alt-account
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
|
images:
|
||||||
|
default:
|
||||||
|
postgresql:
|
||||||
|
registry: ghcr.io
|
||||||
|
repository: cloudnative-pg/postgresql
|
||||||
|
tag: 15.3
|
||||||
|
examples:
|
||||||
|
- postgresql:
|
||||||
|
registry: ghcr.io
|
||||||
|
repository: cloudnative-pg/postgresql
|
||||||
|
tag: 15.3
|
||||||
|
properties:
|
||||||
|
postgresql:
|
||||||
|
default:
|
||||||
|
registry: ghcr.io
|
||||||
|
repository: cloudnative-pg/postgresql
|
||||||
|
tag: 15.3
|
||||||
|
properties:
|
||||||
|
registry:
|
||||||
|
default: ghcr.io
|
||||||
|
type: string
|
||||||
|
repository:
|
||||||
|
default: cloudnative-pg/postgresql
|
||||||
|
type: string
|
||||||
|
tag:
|
||||||
|
default: 15.3
|
||||||
|
type: number
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
postgres:
|
||||||
|
default:
|
||||||
|
replicas: 1
|
||||||
|
examples:
|
||||||
|
- replicas: 1
|
||||||
|
properties:
|
||||||
|
replicas:
|
||||||
|
default: 1
|
||||||
|
type: integer
|
||||||
|
type: object
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
storage:
|
||||||
|
default:
|
||||||
|
postgres:
|
||||||
|
size: 10Gi
|
||||||
|
examples:
|
||||||
|
- postgres:
|
||||||
|
size: 10Gi
|
||||||
|
properties:
|
||||||
|
postgres:
|
||||||
|
default:
|
||||||
|
size: 10Gi
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 10Gi
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
type: object
|
||||||
|
sub_domain:
|
||||||
|
default: dataset-pg
|
||||||
|
examples:
|
||||||
|
- dataset-pg
|
||||||
|
type: string
|
||||||
dependencies:
|
dependencies:
|
||||||
- dist: null
|
- dist: null
|
||||||
category: dbo
|
category: dbo
|
||||||
|
|||||||
@@ -16,6 +16,9 @@ resource "kubectl_manifest" "prj_pg" {
|
|||||||
name: "${var.instance}-${var.component}"
|
name: "${var.instance}-${var.component}"
|
||||||
namespace: "${var.namespace}"
|
namespace: "${var.namespace}"
|
||||||
labels: ${jsonencode(local.pg-labels)}
|
labels: ${jsonencode(local.pg-labels)}
|
||||||
|
annotations:
|
||||||
|
"k8up.io/backupcommand": "pg_dumpall -U postgres --clean"
|
||||||
|
"k8up.io/file-extension": ".sql"
|
||||||
spec:
|
spec:
|
||||||
instances: ${var.postgres.replicas}
|
instances: ${var.postgres.replicas}
|
||||||
imageName: "${var.images.postgresql.registry}/${var.images.postgresql.repository}:${var.images.postgresql.tag}"
|
imageName: "${var.images.postgresql.registry}/${var.images.postgresql.repository}:${var.images.postgresql.tag}"
|
||||||
|
|||||||
Reference in New Issue
Block a user