fix
This commit is contained in:
@@ -5,7 +5,7 @@ locals {
|
|||||||
}
|
}
|
||||||
resource "kubectl_manifest" "dolibarr_redis" {
|
resource "kubectl_manifest" "dolibarr_redis" {
|
||||||
yaml_body = <<-EOF
|
yaml_body = <<-EOF
|
||||||
apiVersion: "redis.redis.opstreelabs.in/v1beta1"
|
apiVersion: "redis.redis.opstreelabs.in/v1beta2"
|
||||||
kind: "Redis"
|
kind: "Redis"
|
||||||
metadata:
|
metadata:
|
||||||
name: "${var.instance}-${var.component}-redis"
|
name: "${var.instance}-${var.component}-redis"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ locals {
|
|||||||
}
|
}
|
||||||
resource "kubectl_manifest" "prj_redis" {
|
resource "kubectl_manifest" "prj_redis" {
|
||||||
yaml_body = <<-EOF
|
yaml_body = <<-EOF
|
||||||
apiVersion: "redis.redis.opstreelabs.in/v1beta1"
|
apiVersion: "redis.redis.opstreelabs.in/v1beta2"
|
||||||
kind: "Redis"
|
kind: "Redis"
|
||||||
metadata:
|
metadata:
|
||||||
name: "${var.instance}-${var.component}-redis"
|
name: "${var.instance}-${var.component}-redis"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ locals {
|
|||||||
}
|
}
|
||||||
resource "kubectl_manifest" "prj_redis" {
|
resource "kubectl_manifest" "prj_redis" {
|
||||||
yaml_body = <<-EOF
|
yaml_body = <<-EOF
|
||||||
apiVersion: "redis.redis.opstreelabs.in/v1beta1"
|
apiVersion: "redis.redis.opstreelabs.in/v1beta2"
|
||||||
kind: "Redis"
|
kind: "Redis"
|
||||||
metadata:
|
metadata:
|
||||||
name: "${var.instance}-${var.component}-redis"
|
name: "${var.instance}-${var.component}-redis"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ locals {
|
|||||||
nextcloud = merge(local.global,{ for k, v in var.nextcloud : k => v if !contains(["enable","storage","backups"],k) },{
|
nextcloud = merge(local.global,{ for k, v in var.nextcloud : k => v if !contains(["enable","storage","backups"],k) },{
|
||||||
backups = merge(lookup(var.nextcloud, "backups", {}), local.global-backups)
|
backups = merge(lookup(var.nextcloud, "backups", {}), local.global-backups)
|
||||||
storage = merge({ for k, v in lookup(var.nextcloud, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
storage = merge({ for k, v in lookup(var.nextcloud, "storage", {}) : k => v if !contains(["volume"],k) }, {
|
||||||
volume = merge(lookup(lookup(var.nextcloud, "storage", {}), "volume", {}), local.global-volume)
|
volume = lookup(lookup(var.nextcloud, "storage", {}), "volume", local.global-volume)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,28 @@ metadata:
|
|||||||
name: domain-apps
|
name: domain-apps
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
nextcloud:
|
||||||
|
default:
|
||||||
|
enable: false
|
||||||
|
examples:
|
||||||
|
- enable: false
|
||||||
|
properties:
|
||||||
|
enable:
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
type: object
|
||||||
|
x-vynil-category: apps
|
||||||
|
x-vynil-package: nextcloud
|
||||||
|
language:
|
||||||
|
default: fr_FR
|
||||||
|
examples:
|
||||||
|
- fr_FR
|
||||||
|
type: string
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
backups:
|
backups:
|
||||||
default:
|
default:
|
||||||
enable: false
|
enable: false
|
||||||
@@ -46,16 +68,31 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
type: boolean
|
type: boolean
|
||||||
type: object
|
type: object
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
timezone:
|
timezone:
|
||||||
default: Europe/Paris
|
default: Europe/Paris
|
||||||
examples:
|
examples:
|
||||||
- Europe/Paris
|
- Europe/Paris
|
||||||
type: string
|
type: string
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
ingress_class:
|
||||||
|
default: traefik
|
||||||
|
examples:
|
||||||
|
- traefik
|
||||||
|
type: string
|
||||||
|
sso_vynil:
|
||||||
|
default: true
|
||||||
|
examples:
|
||||||
|
- true
|
||||||
|
type: boolean
|
||||||
|
domain_name:
|
||||||
|
default: your-company.com
|
||||||
|
examples:
|
||||||
|
- your-company.com
|
||||||
|
type: string
|
||||||
distributions:
|
distributions:
|
||||||
default:
|
default:
|
||||||
core: core
|
core: core
|
||||||
@@ -71,15 +108,10 @@ options:
|
|||||||
default: domain
|
default: domain
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
app_group:
|
||||||
default: letsencrypt-prod
|
default: apps
|
||||||
examples:
|
examples:
|
||||||
- letsencrypt-prod
|
- apps
|
||||||
type: string
|
|
||||||
ingress_class:
|
|
||||||
default: traefik
|
|
||||||
examples:
|
|
||||||
- traefik
|
|
||||||
type: string
|
type: string
|
||||||
storage:
|
storage:
|
||||||
default:
|
default:
|
||||||
@@ -104,44 +136,13 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
nextcloud:
|
|
||||||
default:
|
|
||||||
enable: false
|
|
||||||
examples:
|
|
||||||
- enable: false
|
|
||||||
properties:
|
|
||||||
enable:
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
type: object
|
|
||||||
x-vynil-category: apps
|
|
||||||
x-vynil-package: nextcloud
|
|
||||||
language:
|
|
||||||
default: fr_FR
|
|
||||||
examples:
|
|
||||||
- fr_FR
|
|
||||||
type: string
|
|
||||||
domain_name:
|
|
||||||
default: your-company.com
|
|
||||||
examples:
|
|
||||||
- your-company.com
|
|
||||||
type: string
|
|
||||||
sso_vynil:
|
|
||||||
default: true
|
|
||||||
examples:
|
|
||||||
- true
|
|
||||||
type: boolean
|
|
||||||
app_group:
|
|
||||||
default: apps
|
|
||||||
examples:
|
|
||||||
- apps
|
|
||||||
type: string
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
authentik: null
|
authentik: null
|
||||||
kubectl: true
|
kubectl: true
|
||||||
postgresql: null
|
postgresql: null
|
||||||
|
mysql: null
|
||||||
restapi: null
|
restapi: null
|
||||||
http: null
|
http: null
|
||||||
gitea: null
|
gitea: null
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
resource "kubectl_manifest" "authentik_redis" {
|
resource "kubectl_manifest" "authentik_redis" {
|
||||||
yaml_body = <<-EOF
|
yaml_body = <<-EOF
|
||||||
apiVersion: "redis.redis.opstreelabs.in/v1beta1"
|
apiVersion: "redis.redis.opstreelabs.in/v1beta2"
|
||||||
kind: "Redis"
|
kind: "Redis"
|
||||||
metadata:
|
metadata:
|
||||||
name: "${var.name}-${var.component}-redis"
|
name: "${var.name}-${var.component}-redis"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ locals {
|
|||||||
}
|
}
|
||||||
resource "kubectl_manifest" "prj_redis" {
|
resource "kubectl_manifest" "prj_redis" {
|
||||||
yaml_body = <<-EOF
|
yaml_body = <<-EOF
|
||||||
apiVersion: "redis.redis.opstreelabs.in/v1beta1"
|
apiVersion: "redis.redis.opstreelabs.in/v1beta2"
|
||||||
kind: "Redis"
|
kind: "Redis"
|
||||||
metadata:
|
metadata:
|
||||||
name: "${var.instance}-${var.component}"
|
name: "${var.instance}-${var.component}"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ locals {
|
|||||||
}
|
}
|
||||||
resource "kubectl_manifest" "prj_redis" {
|
resource "kubectl_manifest" "prj_redis" {
|
||||||
yaml_body = <<-EOF
|
yaml_body = <<-EOF
|
||||||
apiVersion: "redis.redis.opstreelabs.in/v1beta1"
|
apiVersion: "redis.redis.opstreelabs.in/v1beta2"
|
||||||
kind: "Redis"
|
kind: "Redis"
|
||||||
metadata:
|
metadata:
|
||||||
name: "${var.instance}-${var.component}-redis"
|
name: "${var.instance}-${var.component}-redis"
|
||||||
|
|||||||
Reference in New Issue
Block a user