fix
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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}"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user