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