This commit is contained in:
2023-07-26 18:44:46 +02:00
parent 32e0587df5
commit 886a15f395
2 changed files with 75 additions and 74 deletions

View File

@@ -3,6 +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
chown www-data ./config || :
exec /bin/sh /entrypoint.sh "$@" exec /bin/sh /entrypoint.sh "$@"
EOF EOF
script-head = <<-EOF script-head = <<-EOF

View File

@@ -6,6 +6,40 @@ metadata:
name: nextcloud name: nextcloud
description: null description: null
options: options:
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
sub-domain:
default: cloud
examples:
- cloud
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
openid-name:
default: vynil
examples:
- vynil
type: string
apps: apps:
default: default:
calendar: false calendar: false
@@ -46,26 +80,6 @@ options:
default: false default: false
type: boolean type: boolean
type: object 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
images: images:
default: default:
exporter: exporter:
@@ -169,11 +183,6 @@ options:
type: string type: string
type: object type: object
type: object type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
redis: redis:
default: default:
exporter: exporter:
@@ -207,60 +216,11 @@ 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
sub-domain:
default: cloud
examples:
- cloud
type: string
domain:
default: your-company
examples:
- your-company
type: string
issuer: issuer:
default: letsencrypt-prod default: letsencrypt-prod
examples: examples:
- letsencrypt-prod - letsencrypt-prod
type: string type: string
openid-name:
default: vynil
examples:
- vynil
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
admin:
default:
name: nextcloud_admin
examples:
- name: nextcloud_admin
properties:
name:
default: nextcloud_admin
type: string
type: object
postgres: postgres:
default: default:
replicas: 1 replicas: 1
@@ -281,6 +241,46 @@ options:
default: '14' default: '14'
type: string type: string
type: object 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
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
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
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true