fix(owncloud-ocis): Fix init (#3630)
* fix(owncloud-ocis): Fix init * bump * fix persistence * test init * test init * test again * test
This commit is contained in:
@@ -26,7 +26,7 @@ sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/stable/owncloud-ocis
|
||||
- https://hub.docker.com/r/owncloud/ocis
|
||||
- https://owncloud.dev/ocis/
|
||||
version: 7.0.28
|
||||
version: 8.0.0
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
||||
@@ -97,6 +97,15 @@ questions:
|
||||
# Include{serviceList}
|
||||
# Include{persistenceRoot}
|
||||
- variable: data
|
||||
label: "App Data Storage"
|
||||
description: "Stores the Application Data."
|
||||
schema:
|
||||
additional_attrs: true
|
||||
type: dict
|
||||
attrs:
|
||||
# Include{persistenceBasic}
|
||||
# Include{persistenceAdvanced}
|
||||
- variable: config
|
||||
label: "App Config Storage"
|
||||
description: "Stores the Application Configuration."
|
||||
schema:
|
||||
|
||||
@@ -35,10 +35,27 @@ service:
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
|
||||
initContainers:
|
||||
init:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/etc/ocis"
|
||||
command:
|
||||
- "/bin/sh"
|
||||
- "-c"
|
||||
- |
|
||||
/usr/bin/ocis init <<'EOF'
|
||||
yes
|
||||
EOF
|
||||
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: "/var/lib/ocis"
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: "/etc/ocis"
|
||||
|
||||
portal:
|
||||
enabled: true
|
||||
|
||||
Reference in New Issue
Block a user