This commit is contained in:
2023-07-26 16:57:55 +02:00
parent f9a65dfafb
commit 15564296ab
3 changed files with 46 additions and 45 deletions

View File

@@ -3,7 +3,7 @@ locals {
#!/bin/bash #!/bin/bash
cp /etc/local-ca/ca.crt /usr/local/share/ca-certificates/ cp /etc/local-ca/ca.crt /usr/local/share/ca-certificates/
/usr/sbin/update-ca-certificates /usr/sbin/update-ca-certificates
exec /bin/bash /entrypoint.sh "$@" exec /bin/sh /entrypoint.sh "$@"
EOF EOF
script-head = <<-EOF script-head = <<-EOF
#!/bin/bash #!/bin/bash

View File

@@ -61,6 +61,7 @@ data "kustomization_overlay" "data" {
image: "${var.images.nextcloud.registry}/${var.images.nextcloud.repository}:${var.images.nextcloud.tag}" image: "${var.images.nextcloud.registry}/${var.images.nextcloud.repository}:${var.images.nextcloud.tag}"
imagePullPolicy: "${var.images.nextcloud.pullPolicy}" imagePullPolicy: "${var.images.nextcloud.pullPolicy}"
command: ["/usr/local/bin/wrapper"] command: ["/usr/local/bin/wrapper"]
args: ["%%CMD%%"]
env: env:
- name: POSTGRES_HOST - name: POSTGRES_HOST
value: "${var.instance}-${var.component}" value: "${var.instance}-${var.component}"

View File

@@ -6,39 +6,25 @@ metadata:
name: nextcloud name: nextcloud
description: null description: null
options: options:
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
issuer: issuer:
default: letsencrypt-prod default: letsencrypt-prod
examples: examples:
- letsencrypt-prod - letsencrypt-prod
type: string type: string
storage: ingress-class:
default: default: traefik
accessMode: ReadWriteOnce
size: 10Gi
examples: examples:
- accessMode: ReadWriteOnce - traefik
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string type: string
size: domain:
default: 10Gi default: your-company
type: string
type: object
sub-domain:
default: cloud
examples: examples:
- cloud - your-company
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string type: string
apps: apps:
default: default:
@@ -188,21 +174,6 @@ options:
examples: examples:
- vynil - vynil
type: string type: string
admin:
default:
name: nextcloud_admin
examples:
- name: nextcloud_admin
properties:
name:
default: nextcloud_admin
type: string
type: object
ingress-class:
default: traefik
examples:
- traefik
type: string
redis: redis:
default: default:
exporter: exporter:
@@ -236,11 +207,25 @@ options:
default: 2Gi default: 2Gi
type: string type: string
type: object type: object
domain: storage:
default: your-company default:
accessMode: ReadWriteOnce
size: 10Gi
examples: examples:
- your-company - accessMode: ReadWriteOnce
size: 10Gi
properties:
accessMode:
default: ReadWriteOnce
enum:
- ReadWriteOnce
- ReadOnlyMany
- ReadWriteMany
type: string type: string
size:
default: 10Gi
type: string
type: object
postgres: postgres:
default: default:
replicas: 1 replicas: 1
@@ -281,6 +266,21 @@ options:
default: 1 default: 1
type: integer type: integer
type: object type: object
sub-domain:
default: cloud
examples:
- cloud
type: string
admin:
default:
name: nextcloud_admin
examples:
- name: nextcloud_admin
properties:
name:
default: nextcloud_admin
type: string
type: object
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true