This commit is contained in:
2023-07-18 11:21:34 +02:00
parent ff247ebee1
commit 30c3c484d9
4 changed files with 46 additions and 43 deletions

View File

@@ -70,7 +70,10 @@ spec:
- name: REDIS_HOST_PORT
value: "6379"
- name: REDIS_HOST_PASSWORD
value: changeme
valueFrom:
secretKeyRef:
name: nextcloud
key: redis-password
resources:
{}
volumeMounts:

View File

@@ -54,8 +54,6 @@ data "kustomization_overlay" "data" {
value: "${local.dns-name}"
- name: REDIS_HOST
value: "${var.instance}-${var.component}-redis.${var.namespace}.svc"
- name: REDIS_HOST_PASSWORD
value: ""
resources:
{}
- name: nextcloud-nginx

View File

@@ -6,41 +6,6 @@ metadata:
name: nextcloud
description: null
options:
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
admin:
default:
name: nextcloud_admin
examples:
- name: nextcloud_admin
properties:
name:
default: nextcloud_admin
type: string
type: object
domain:
default: your-company
examples:
- your-company
type: string
ingress-class:
default: traefik
examples:
@@ -51,6 +16,11 @@ options:
examples:
- letsencrypt-prod
type: string
sub-domain:
default: cloud
examples:
- cloud
type: string
images:
default:
exporter:
@@ -154,11 +124,6 @@ options:
type: string
type: object
type: object
sub-domain:
default: cloud
examples:
- cloud
type: string
postgres:
default:
replicas: 1
@@ -179,11 +144,46 @@ options:
default: '14'
type: string
type: object
domain:
default: your-company
examples:
- your-company
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
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
admin:
default:
name: nextcloud_admin
examples:
- name: nextcloud_admin
properties:
name:
default: nextcloud_admin
type: string
type: object
redis:
default:
exporter:

View File

@@ -17,5 +17,7 @@ resource "kubectl_manifest" "gitea_secret" {
length: "32"
- fieldName: "nextcloud-token"
length: "32"
- fieldName: "redis-password"
length: "32"
EOF
}