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://github.com/truecharts/charts/tree/master/charts/stable/owncloud-ocis
|
||||||
- https://hub.docker.com/r/owncloud/ocis
|
- https://hub.docker.com/r/owncloud/ocis
|
||||||
- https://owncloud.dev/ocis/
|
- https://owncloud.dev/ocis/
|
||||||
version: 7.0.28
|
version: 8.0.0
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|||||||
@@ -97,6 +97,15 @@ questions:
|
|||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
# Include{persistenceRoot}
|
# Include{persistenceRoot}
|
||||||
- variable: data
|
- 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"
|
label: "App Config Storage"
|
||||||
description: "Stores the Application Configuration."
|
description: "Stores the Application Configuration."
|
||||||
schema:
|
schema:
|
||||||
|
|||||||
@@ -35,10 +35,27 @@ service:
|
|||||||
port: 9200
|
port: 9200
|
||||||
targetPort: 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:
|
persistence:
|
||||||
data:
|
data:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/var/lib/ocis"
|
mountPath: "/var/lib/ocis"
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/etc/ocis"
|
||||||
|
|
||||||
portal:
|
portal:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user