This commit is contained in:
2023-07-18 12:12:15 +02:00
parent db73a68282
commit 565b67375b
3 changed files with 91 additions and 96 deletions

View File

@@ -24,7 +24,6 @@ spec:
app.kubernetes.io/name: nextcloud app.kubernetes.io/name: nextcloud
app.kubernetes.io/instance: nextcloud app.kubernetes.io/instance: nextcloud
app.kubernetes.io/component: app app.kubernetes.io/component: app
nextcloud-redis-client: "true"
annotations: annotations:
nextcloud-config-hash: d4320fdaefff5b70c7a5104cb95c93f3525ec8c8ca505ca7d8b36aea48f2539c nextcloud-config-hash: d4320fdaefff5b70c7a5104cb95c93f3525ec8c8ca505ca7d8b36aea48f2539c
php-config-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a php-config-hash: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
@@ -65,12 +64,6 @@ spec:
value: "1" value: "1"
- name: NEXTCLOUD_DATA_DIR - name: NEXTCLOUD_DATA_DIR
value: "/var/www/html/data" value: "/var/www/html/data"
- name: REDIS_HOST
value: nextcloud-redis-master
- name: REDIS_HOST_PORT
value: "6379"
- name: REDIS_HOST_PASSWORD
value:
resources: resources:
{} {}
volumeMounts: volumeMounts:

View File

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

View File

@@ -6,23 +6,69 @@ metadata:
name: nextcloud name: nextcloud
description: null description: null
options: options:
storage: sub-domain:
default: default: cloud
accessMode: ReadWriteOnce
size: 10Gi
examples: examples:
- accessMode: ReadWriteOnce - cloud
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string type: string
size: issuer:
default: 10Gi default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ingress-class:
default: traefik
examples:
- traefik
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
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: string
type: object type: object
redis: redis:
@@ -58,6 +104,35 @@ options:
default: 2Gi default: 2Gi
type: string type: string
type: object type: object
storage:
default:
accessMode: ReadWriteOnce
size: 10Gi
examples:
- accessMode: ReadWriteOnce
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string
size:
default: 10Gi
type: string
type: object
admin:
default:
name: nextcloud_admin
examples:
- name: nextcloud_admin
properties:
name:
default: nextcloud_admin
type: string
type: object
images: images:
default: default:
exporter: exporter:
@@ -161,81 +236,6 @@ options:
type: string type: string
type: object type: object
type: object type: object
domain:
default: your-company
examples:
- your-company
type: string
admin:
default:
name: nextcloud_admin
examples:
- name: nextcloud_admin
properties:
name:
default: nextcloud_admin
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
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
sub-domain:
default: cloud
examples:
- cloud
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
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true