From afed3ca3b7eda4cf219eb946821c8d752b8c5f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Sat, 12 Aug 2023 12:11:48 +0200 Subject: [PATCH] fix --- apps/dolibarr/index.yaml | 304 ++++++++++++++--------------- apps/dolibarr/postgresql.tf | 2 +- apps/gitea/index.yaml | 330 ++++++++++++++++---------------- apps/gitea/postgresql.tf | 2 +- apps/nextcloud/index.yaml | 346 +++++++++++++++++----------------- apps/nextcloud/postgresql.tf | 2 +- share/authentik/index.yaml | 218 ++++++++++----------- share/authentik/postgresql.tf | 2 +- 8 files changed, 603 insertions(+), 603 deletions(-) diff --git a/apps/dolibarr/index.yaml b/apps/dolibarr/index.yaml index 91a4441..aaa8b36 100644 --- a/apps/dolibarr/index.yaml +++ b/apps/dolibarr/index.yaml @@ -6,92 +6,16 @@ metadata: name: dolibarr description: null options: - modules: - default: - - societe + issuer: + default: letsencrypt-prod examples: - - - societe - items: - type: string - type: array + - letsencrypt-prod + type: string domain-name: default: your_company.com examples: - your_company.com type: string - user-groups: - default: - - admin: true - name: dolibarr-admin - examples: - - - admin: true - name: dolibarr-admin - items: - properties: - admin: - type: boolean - name: - type: string - type: object - type: array - redis: - default: - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 2Gi - examples: - - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 2Gi - properties: - exporter: - default: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - properties: - enabled: - default: true - type: boolean - image: - default: quay.io/opstree/redis-exporter:v1.44.0 - type: string - type: object - image: - default: quay.io/opstree/redis:v7.0.5 - type: string - storage: - default: 2Gi - type: string - type: object - sub-domain: - default: erp - examples: - - erp - type: string - domain: - default: your-company - examples: - - your-company - type: string - parameters: - default: - MAIN_LANG_DEFAULT: auto - examples: - - MAIN_LANG_DEFAULT: auto - properties: - MAIN_LANG_DEFAULT: - default: auto - type: string - type: object - ingress-class: - default: traefik - examples: - - traefik - type: string resources: default: limits: @@ -133,78 +57,6 @@ options: type: string type: object type: object - storage: - default: - accessMode: ReadWriteOnce - size: 10Gi - type: Filesystem - examples: - - accessMode: ReadWriteOnce - size: 10Gi - type: Filesystem - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 10Gi - type: string - type: - default: Filesystem - enum: - - Filesystem - - block - type: string - type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - postgres: - default: - replicas: 1 - storage: 5Gi - version: '14' - examples: - - replicas: 1 - storage: 5Gi - version: '14' - properties: - replicas: - default: 1 - type: integer - storage: - default: 5Gi - type: string - version: - default: '14' - type: string - type: object - hpa: - default: - avg-cpu: 50 - max-replicas: 5 - min-replicas: 1 - examples: - - avg-cpu: 50 - max-replicas: 5 - min-replicas: 1 - properties: - avg-cpu: - default: 50 - type: integer - max-replicas: - default: 5 - type: integer - min-replicas: - default: 1 - type: integer - type: object backups: default: enable: false @@ -306,6 +158,124 @@ options: default: backup-settings type: string type: object + storage: + default: + accessMode: ReadWriteOnce + size: 10Gi + type: Filesystem + examples: + - accessMode: ReadWriteOnce + size: 10Gi + type: Filesystem + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 10Gi + type: string + type: + default: Filesystem + enum: + - Filesystem + - block + type: string + type: object + hpa: + default: + avg-cpu: 50 + max-replicas: 5 + min-replicas: 1 + examples: + - avg-cpu: 50 + max-replicas: 5 + min-replicas: 1 + properties: + avg-cpu: + default: 50 + type: integer + max-replicas: + default: 5 + type: integer + min-replicas: + default: 1 + type: integer + type: object + domain: + default: your-company + examples: + - your-company + type: string + postgres: + default: + replicas: 1 + storage: 5Gi + version: '14' + examples: + - replicas: 1 + storage: 5Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 5Gi + type: string + version: + default: '14' + type: string + type: object + modules: + default: + - societe + examples: + - - societe + items: + type: string + type: array + sub-domain: + default: erp + examples: + - erp + type: string + redis: + default: + exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + storage: 2Gi + examples: + - exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + storage: 2Gi + properties: + exporter: + default: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + properties: + enabled: + default: true + type: boolean + image: + default: quay.io/opstree/redis-exporter:v1.44.0 + type: string + type: object + image: + default: quay.io/opstree/redis:v7.0.5 + type: string + storage: + default: 2Gi + type: string + type: object images: default: dolibarr: @@ -371,11 +341,41 @@ options: type: string type: object type: object + parameters: + default: + MAIN_LANG_DEFAULT: auto + examples: + - MAIN_LANG_DEFAULT: auto + properties: + MAIN_LANG_DEFAULT: + default: auto + type: string + type: object log-level: default: 5 examples: - 5 type: integer + user-groups: + default: + - admin: true + name: dolibarr-admin + examples: + - - admin: true + name: dolibarr-admin + items: + properties: + admin: + type: boolean + name: + type: string + type: object + type: array + ingress-class: + default: traefik + examples: + - traefik + type: string dependencies: - dist: null category: share diff --git a/apps/dolibarr/postgresql.tf b/apps/dolibarr/postgresql.tf index 24b6374..0582e60 100644 --- a/apps/dolibarr/postgresql.tf +++ b/apps/dolibarr/postgresql.tf @@ -37,7 +37,7 @@ resource "kubectl_manifest" "prj_pg" { } resource "kubectl_manifest" "prj_pg_backup" { - count = var.backup.enable ? 1:0 + count = var.backups.enable ? 1:0 yaml_body = <<-EOF apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup diff --git a/apps/gitea/index.yaml b/apps/gitea/index.yaml index eae692f..aa19add 100644 --- a/apps/gitea/index.yaml +++ b/apps/gitea/index.yaml @@ -9,6 +9,149 @@ metadata: A painless self-hosted Git service. Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license. options: + volume: + default: + size: 10Gi + examples: + - size: 10Gi + properties: + size: + default: 10Gi + type: string + type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + default-branch: + default: main + examples: + - main + type: string + load-balancer: + default: + ip: '' + examples: + - ip: '' + properties: + ip: + default: '' + type: string + type: object + theme: + default: gitea-modern + examples: + - gitea-modern + type: string + sub-domain: + default: git + examples: + - git + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + replicas: + default: 1 + examples: + - 1 + type: integer + webhook: + default: + allowed-hosts: private + skip-tls-verify: false + examples: + - allowed-hosts: private + skip-tls-verify: false + properties: + allowed-hosts: + default: private + type: string + skip-tls-verify: + default: false + type: boolean + type: object + disable-registration: + default: true + examples: + - true + type: boolean + ssh-port: + default: 2222 + examples: + - 2222 + type: integer + images: + default: + gitea: + pullPolicy: IfNotPresent + registry: docker.io + repository: gitea/gitea + tag: 1.19.3 + memcached: + registry: docker.io + repository: bitnami/memcached + tag: 1.6.19-debian-11-r7 + examples: + - gitea: + pullPolicy: IfNotPresent + registry: docker.io + repository: gitea/gitea + tag: 1.19.3 + memcached: + registry: docker.io + repository: bitnami/memcached + tag: 1.6.19-debian-11-r7 + properties: + gitea: + default: + pullPolicy: IfNotPresent + registry: docker.io + repository: gitea/gitea + tag: 1.19.3 + properties: + pullPolicy: + default: IfNotPresent + enum: + - Always + - Never + - IfNotPresent + type: string + registry: + default: docker.io + type: string + repository: + default: gitea/gitea + type: string + tag: + default: 1.19.3 + type: string + type: object + memcached: + default: + registry: docker.io + repository: bitnami/memcached + tag: 1.6.19-debian-11-r7 + properties: + registry: + default: docker.io + type: string + repository: + default: bitnami/memcached + type: string + tag: + default: 1.6.19-debian-11-r7 + type: string + type: object + type: object + release: + default: 8.3.0 + examples: + - 8.3.0 + type: string admin: default: email: git-admin@git.your_company.com @@ -24,16 +167,26 @@ options: default: gitea_admin type: string type: object - release: - default: 8.3.0 + postgres: + default: + replicas: 1 + storage: 10Gi + version: '14' examples: - - 8.3.0 - type: string - ingress-class: - default: traefik - examples: - - traefik - type: string + - replicas: 1 + storage: 10Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 10Gi + type: string + version: + default: '14' + type: string + type: object backups: default: enable: false @@ -155,174 +308,21 @@ options: default: 'true' type: string type: object - webhook: - default: - allowed-hosts: private - skip-tls-verify: false - examples: - - allowed-hosts: private - skip-tls-verify: false - properties: - allowed-hosts: - default: private - type: string - skip-tls-verify: - default: false - type: boolean - type: object - ssh-port: - default: 2222 - examples: - - 2222 - type: integer - timezone: - default: Europe/Paris - examples: - - Europe/Paris - type: string - volume: - default: - size: 10Gi - examples: - - size: 10Gi - properties: - size: - default: 10Gi - type: string - type: object - load-balancer: - default: - ip: '' - examples: - - ip: '' - properties: - ip: - default: '' - type: string - type: object - sub-domain: - default: git - examples: - - git - type: string domain-name: default: your_company.com examples: - your_company.com type: string - theme: - default: gitea-modern + timezone: + default: Europe/Paris examples: - - gitea-modern + - Europe/Paris type: string - images: - default: - gitea: - pullPolicy: IfNotPresent - registry: docker.io - repository: gitea/gitea - tag: 1.19.3 - memcached: - registry: docker.io - repository: bitnami/memcached - tag: 1.6.19-debian-11-r7 - examples: - - gitea: - pullPolicy: IfNotPresent - registry: docker.io - repository: gitea/gitea - tag: 1.19.3 - memcached: - registry: docker.io - repository: bitnami/memcached - tag: 1.6.19-debian-11-r7 - properties: - gitea: - default: - pullPolicy: IfNotPresent - registry: docker.io - repository: gitea/gitea - tag: 1.19.3 - properties: - pullPolicy: - default: IfNotPresent - enum: - - Always - - Never - - IfNotPresent - type: string - registry: - default: docker.io - type: string - repository: - default: gitea/gitea - type: string - tag: - default: 1.19.3 - type: string - type: object - memcached: - default: - registry: docker.io - repository: bitnami/memcached - tag: 1.6.19-debian-11-r7 - properties: - registry: - default: docker.io - type: string - repository: - default: bitnami/memcached - type: string - tag: - default: 1.6.19-debian-11-r7 - type: string - type: object - type: object - replicas: - default: 1 - examples: - - 1 - type: integer domain: default: your-company examples: - your-company type: string - default-branch: - default: main - examples: - - main - type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - disable-registration: - default: true - examples: - - true - type: boolean - postgres: - default: - replicas: 1 - storage: 10Gi - version: '14' - examples: - - replicas: 1 - storage: 10Gi - version: '14' - properties: - replicas: - default: 1 - type: integer - storage: - default: 10Gi - type: string - version: - default: '14' - type: string - type: object dependencies: - dist: null category: share diff --git a/apps/gitea/postgresql.tf b/apps/gitea/postgresql.tf index 24b6374..0582e60 100644 --- a/apps/gitea/postgresql.tf +++ b/apps/gitea/postgresql.tf @@ -37,7 +37,7 @@ resource "kubectl_manifest" "prj_pg" { } resource "kubectl_manifest" "prj_pg_backup" { - count = var.backup.enable ? 1:0 + count = var.backups.enable ? 1:0 yaml_body = <<-EOF apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup diff --git a/apps/nextcloud/index.yaml b/apps/nextcloud/index.yaml index aeda6f6..2b3c6de 100644 --- a/apps/nextcloud/index.yaml +++ b/apps/nextcloud/index.yaml @@ -6,6 +6,69 @@ metadata: name: nextcloud description: null options: + openid-name: + default: vynil + examples: + - vynil + type: string + redis: + default: + exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + storage: 2Gi + examples: + - exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 + storage: 2Gi + properties: + exporter: + default: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + properties: + enabled: + default: true + type: boolean + image: + default: quay.io/opstree/redis-exporter:v1.44.0 + type: string + type: object + image: + default: quay.io/opstree/redis:v7.0.5 + type: string + storage: + default: 2Gi + type: string + type: object + sub-domain: + default: files + examples: + - files + type: string + postgres: + default: + replicas: 1 + storage: 5Gi + version: '14' + examples: + - replicas: 1 + storage: 5Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 5Gi + type: string + version: + default: '14' + type: string + type: object storage: default: accessMode: ReadWriteOnce @@ -25,11 +88,116 @@ options: default: 10Gi type: string type: object + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + ingress-class: + default: traefik + examples: + - traefik + type: string domain: default: your-company examples: - your-company type: string + domain-name: + default: your_company.com + examples: + - your_company.com + type: string + apps: + default: + audioplayer: false + bookmarks: false + bpm: false + calendar: false + collabora: false + contacts: false + deck: false + groupfolders: true + mindmap: false + music: false + notes: false + onlyoffice: false + passman: false + spreed: false + tables: false + tasks: false + texteditor: true + examples: + - audioplayer: false + bookmarks: false + bpm: false + calendar: false + collabora: false + contacts: false + deck: false + groupfolders: true + mindmap: false + music: false + notes: false + onlyoffice: false + passman: false + spreed: false + tables: false + tasks: false + texteditor: true + properties: + audioplayer: + default: false + type: boolean + bookmarks: + default: false + type: boolean + bpm: + default: false + type: boolean + calendar: + default: false + type: boolean + collabora: + default: false + type: boolean + contacts: + default: false + type: boolean + deck: + default: false + type: boolean + groupfolders: + default: true + type: boolean + mindmap: + default: false + type: boolean + music: + default: false + type: boolean + notes: + default: false + type: boolean + onlyoffice: + default: false + type: boolean + passman: + default: false + type: boolean + spreed: + default: false + type: boolean + tables: + default: false + type: boolean + tasks: + default: false + type: boolean + texteditor: + default: true + type: boolean + type: object images: default: collabora: @@ -213,21 +381,6 @@ options: default: 1 type: integer type: object - admin: - default: - name: nextcloud_admin - examples: - - name: nextcloud_admin - properties: - name: - default: nextcloud_admin - type: string - type: object - ingress-class: - default: traefik - examples: - - traefik - type: string backups: default: enable: false @@ -329,167 +482,14 @@ options: default: backup-settings type: string type: object - postgres: + admin: default: - replicas: 1 - storage: 5Gi - version: '14' + name: nextcloud_admin examples: - - replicas: 1 - storage: 5Gi - version: '14' + - name: nextcloud_admin properties: - replicas: - default: 1 - type: integer - storage: - default: 5Gi - type: string - version: - default: '14' - type: string - type: object - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string - apps: - default: - audioplayer: false - bookmarks: false - bpm: false - calendar: false - collabora: false - contacts: false - deck: false - groupfolders: true - mindmap: false - music: false - notes: false - onlyoffice: false - passman: false - spreed: false - tables: false - tasks: false - texteditor: true - examples: - - audioplayer: false - bookmarks: false - bpm: false - calendar: false - collabora: false - contacts: false - deck: false - groupfolders: true - mindmap: false - music: false - notes: false - onlyoffice: false - passman: false - spreed: false - tables: false - tasks: false - texteditor: true - properties: - audioplayer: - default: false - type: boolean - bookmarks: - default: false - type: boolean - bpm: - default: false - type: boolean - calendar: - default: false - type: boolean - collabora: - default: false - type: boolean - contacts: - default: false - type: boolean - deck: - default: false - type: boolean - groupfolders: - default: true - type: boolean - mindmap: - default: false - type: boolean - music: - default: false - type: boolean - notes: - default: false - type: boolean - onlyoffice: - default: false - type: boolean - passman: - default: false - type: boolean - spreed: - default: false - type: boolean - tables: - default: false - type: boolean - tasks: - default: false - type: boolean - texteditor: - default: true - type: boolean - type: object - domain-name: - default: your_company.com - examples: - - your_company.com - type: string - sub-domain: - default: files - examples: - - files - type: string - openid-name: - default: vynil - examples: - - vynil - type: string - redis: - default: - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 2Gi - examples: - - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 2Gi - properties: - exporter: - default: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - properties: - enabled: - default: true - type: boolean - image: - default: quay.io/opstree/redis-exporter:v1.44.0 - type: string - type: object - image: - default: quay.io/opstree/redis:v7.0.5 - type: string - storage: - default: 2Gi + name: + default: nextcloud_admin type: string type: object dependencies: diff --git a/apps/nextcloud/postgresql.tf b/apps/nextcloud/postgresql.tf index 24b6374..0582e60 100644 --- a/apps/nextcloud/postgresql.tf +++ b/apps/nextcloud/postgresql.tf @@ -37,7 +37,7 @@ resource "kubectl_manifest" "prj_pg" { } resource "kubectl_manifest" "prj_pg_backup" { - count = var.backup.enable ? 1:0 + count = var.backups.enable ? 1:0 yaml_body = <<-EOF apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup diff --git a/share/authentik/index.yaml b/share/authentik/index.yaml index faa05ec..82da9b2 100644 --- a/share/authentik/index.yaml +++ b/share/authentik/index.yaml @@ -6,16 +6,66 @@ metadata: name: authentik description: authentik is an open-source Identity Provider focused on flexibility and versatility options: - sub-domain: - default: auth + ingress-class: + default: traefik examples: - - auth + - traefik type: string + domain: + default: your-company + examples: + - your-company + type: string + error_reporting: + default: + enabled: false + environment: k8s + send_pii: false + examples: + - enabled: false + environment: k8s + send_pii: false + properties: + enabled: + default: false + type: boolean + environment: + default: k8s + type: string + send_pii: + default: false + type: boolean + type: object + postgres: + default: + replicas: 1 + storage: 8Gi + version: '14' + examples: + - replicas: 1 + storage: 8Gi + version: '14' + properties: + replicas: + default: 1 + type: integer + storage: + default: 8Gi + type: string + version: + default: '14' + type: string + type: object issuer: default: letsencrypt-prod examples: - letsencrypt-prod type: string + geoip: + default: /geoip/GeoLite2-City.mmdb + examples: + - /geoip/GeoLite2-City.mmdb + type: string email: default: port: 587 @@ -41,60 +91,78 @@ options: default: false type: boolean type: object - postgres: + redis: default: - replicas: 1 + exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 storage: 8Gi - version: '14' examples: - - replicas: 1 + - exporter: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + image: quay.io/opstree/redis:v7.0.5 storage: 8Gi - version: '14' properties: - replicas: - default: 1 - type: integer + exporter: + default: + enabled: true + image: quay.io/opstree/redis-exporter:v1.44.0 + properties: + enabled: + default: true + type: boolean + image: + default: quay.io/opstree/redis-exporter:v1.44.0 + type: string + type: object + image: + default: quay.io/opstree/redis:v7.0.5 + type: string storage: default: 8Gi type: string - version: - default: '14' - type: string type: object - domain: - default: your-company - examples: - - your-company - type: string - error_reporting: + image: default: - enabled: false - environment: k8s - send_pii: false + project: goauthentik + pullPolicy: IfNotPresent + registry: ghcr.io + repository: goauthentik/server + tag: 2023.5.4 examples: - - enabled: false - environment: k8s - send_pii: false + - project: goauthentik + pullPolicy: IfNotPresent + registry: ghcr.io + repository: goauthentik/server + tag: 2023.5.4 properties: - enabled: - default: false - type: boolean - environment: - default: k8s + project: + default: goauthentik + type: string + pullPolicy: + default: IfNotPresent + type: string + registry: + default: ghcr.io + type: string + repository: + default: goauthentik/server + type: string + tag: + default: 2023.5.4 type: string - send_pii: - default: false - type: boolean type: object loglevel: default: info examples: - info type: string - geoip: - default: /geoip/GeoLite2-City.mmdb + sub-domain: + default: auth examples: - - /geoip/GeoLite2-City.mmdb + - auth type: string backups: default: @@ -150,46 +218,6 @@ options: default: backup-settings type: string type: object - ingress-class: - default: traefik - examples: - - traefik - type: string - image: - default: - project: goauthentik - pullPolicy: IfNotPresent - registry: ghcr.io - repository: goauthentik/server - tag: 2023.5.4 - examples: - - project: goauthentik - pullPolicy: IfNotPresent - registry: ghcr.io - repository: goauthentik/server - tag: 2023.5.4 - properties: - project: - default: goauthentik - type: string - pullPolicy: - default: IfNotPresent - type: string - registry: - default: ghcr.io - type: string - repository: - default: goauthentik/server - type: string - tag: - default: 2023.5.4 - type: string - type: object - domain-name: - default: your_company.com - examples: - - your_company.com - type: string admin: default: email: auth-admin @@ -200,39 +228,11 @@ options: default: auth-admin type: string type: object - redis: - default: - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 8Gi + domain-name: + default: your_company.com examples: - - exporter: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - image: quay.io/opstree/redis:v7.0.5 - storage: 8Gi - properties: - exporter: - default: - enabled: true - image: quay.io/opstree/redis-exporter:v1.44.0 - properties: - enabled: - default: true - type: boolean - image: - default: quay.io/opstree/redis-exporter:v1.44.0 - type: string - type: object - image: - default: quay.io/opstree/redis:v7.0.5 - type: string - storage: - default: 8Gi - type: string - type: object + - your_company.com + type: string dependencies: - dist: null category: core diff --git a/share/authentik/postgresql.tf b/share/authentik/postgresql.tf index 24b6374..0582e60 100644 --- a/share/authentik/postgresql.tf +++ b/share/authentik/postgresql.tf @@ -37,7 +37,7 @@ resource "kubectl_manifest" "prj_pg" { } resource "kubectl_manifest" "prj_pg_backup" { - count = var.backup.enable ? 1:0 + count = var.backups.enable ? 1:0 yaml_body = <<-EOF apiVersion: postgresql.cnpg.io/v1 kind: ScheduledBackup