fix
This commit is contained in:
@@ -25,8 +25,8 @@ resource "kubernetes_namespace_v1" "files-ns" {
|
||||
}
|
||||
|
||||
resource "kubectl_manifest" "nextcloud" {
|
||||
count = var.authentik.enable || var.authentik-ldap.enable || var.authentik-forward.enable ? 1 : 0
|
||||
depends_on = [kubernetes_namespace_v1.auth-ns]
|
||||
count = var.nextcloud.enable ? 1 : 0
|
||||
depends_on = [kubernetes_namespace_v1.files-ns]
|
||||
yaml_body = <<-EOF
|
||||
apiVersion: "vynil.solidite.fr/v1"
|
||||
kind: "Install"
|
||||
|
||||
@@ -6,25 +6,10 @@ metadata:
|
||||
name: domain-apps
|
||||
description: null
|
||||
options:
|
||||
nextcloud:
|
||||
default:
|
||||
enable: false
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- enable: false
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
- traefik
|
||||
type: string
|
||||
distributions:
|
||||
default:
|
||||
@@ -41,10 +26,25 @@ options:
|
||||
default: domain
|
||||
type: string
|
||||
type: object
|
||||
ingress-class:
|
||||
default: traefik
|
||||
nextcloud:
|
||||
default:
|
||||
enable: false
|
||||
examples:
|
||||
- traefik
|
||||
- enable: false
|
||||
properties:
|
||||
enable:
|
||||
default: false
|
||||
type: boolean
|
||||
type: object
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
domain:
|
||||
default: your-company
|
||||
|
||||
Reference in New Issue
Block a user