mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
Merge pull request #1912 from nextcloud/enh/noid/update-helm-chart
Helm Chart updates
This commit is contained in:
commit
cfbfe0438c
17 changed files with 163 additions and 4 deletions
|
|
@ -40,6 +40,8 @@ spec:
|
|||
value: "{{ .Values.TIMEZONE }}"
|
||||
image: nextcloud/aio-clamav:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-clamav
|
||||
ports:
|
||||
- containerPort: 3310
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/clamav
|
||||
name: nextcloud-aio-clamav
|
||||
|
|
|
|||
18
helm-chart/templates/nextcloud-aio-clamav-service.yaml
Normal file
18
helm-chart/templates/nextcloud-aio-clamav-service.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{{- if eq .Values.CLAMAV_ENABLED "yes" }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-clamav
|
||||
name: nextcloud-aio-clamav
|
||||
spec:
|
||||
ports:
|
||||
- name: "3310"
|
||||
port: 3310
|
||||
targetPort: 3310
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-clamav
|
||||
{{- end }}
|
||||
|
|
@ -44,6 +44,8 @@ spec:
|
|||
value: --o:ssl.enable=false --o:ssl.termination=true --o:logging.level=warning --o:home_mode.enable=true {{ .Values.COLLABORA_SECCOMP_POLICY }} --o:remote_font_config.url=https://{{ .Values.NC_DOMAIN }}/apps/richdocuments/settings/fonts.json
|
||||
image: nextcloud/aio-collabora:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-collabora
|
||||
ports:
|
||||
- containerPort: 9980
|
||||
volumeMounts:
|
||||
- mountPath: /opt/cool/systemplate/tmpfonts
|
||||
name: nextcloud-aio-collabora-fonts
|
||||
|
|
|
|||
18
helm-chart/templates/nextcloud-aio-collabora-service.yaml
Normal file
18
helm-chart/templates/nextcloud-aio-collabora-service.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{{- if eq .Values.COLLABORA_ENABLED "yes" }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-collabora
|
||||
name: nextcloud-aio-collabora
|
||||
spec:
|
||||
ports:
|
||||
- name: "9980"
|
||||
port: 9980
|
||||
targetPort: 9980
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-collabora
|
||||
{{- end }}
|
||||
|
|
@ -25,10 +25,10 @@ spec:
|
|||
- name: init-volumes
|
||||
image: alpine
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- "chmod 777 /nextcloud-aio-database /nextcloud-aio-database-dump
|
||||
&& chown 999:999 /nextcloud-aio-database"
|
||||
- chown
|
||||
- 999:999
|
||||
- /nextcloud-aio-database
|
||||
- /nextcloud-aio-database-dump
|
||||
volumeMounts:
|
||||
- name: nextcloud-aio-database-dump
|
||||
mountPath: /nextcloud-aio-database-dump
|
||||
|
|
@ -48,6 +48,8 @@ spec:
|
|||
value: "{{ .Values.TIMEZONE }}"
|
||||
image: nextcloud/aio-postgresql:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-database
|
||||
ports:
|
||||
- containerPort: 5432
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/postgresql/data
|
||||
name: nextcloud-aio-database
|
||||
|
|
|
|||
16
helm-chart/templates/nextcloud-aio-database-service.yaml
Normal file
16
helm-chart/templates/nextcloud-aio-database-service.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-database
|
||||
name: nextcloud-aio-database
|
||||
spec:
|
||||
ports:
|
||||
- name: "5432"
|
||||
port: 5432
|
||||
targetPort: 5432
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-database
|
||||
|
|
@ -42,6 +42,8 @@ spec:
|
|||
value: single-node
|
||||
image: nextcloud/aio-fulltextsearch:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-fulltextsearch
|
||||
ports:
|
||||
- containerPort: 9200
|
||||
volumeMounts:
|
||||
- mountPath: /usr/share/elasticsearch/data
|
||||
name: nextcloud-aio-elasticsearch
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
{{- if eq .Values.FULLTEXTSEARCH_ENABLED "yes" }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-fulltextsearch
|
||||
name: nextcloud-aio-fulltextsearch
|
||||
spec:
|
||||
ports:
|
||||
- name: "9200"
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-fulltextsearch
|
||||
{{- end }}
|
||||
|
|
@ -28,4 +28,6 @@ spec:
|
|||
value: "{{ .Values.TIMEZONE }}"
|
||||
image: nextcloud/aio-imaginary:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-imaginary
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
{{- end }}
|
||||
|
|
|
|||
18
helm-chart/templates/nextcloud-aio-imaginary-service.yaml
Normal file
18
helm-chart/templates/nextcloud-aio-imaginary-service.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{{- if eq .Values.IMAGINARY_ENABLED "yes" }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-imaginary
|
||||
name: nextcloud-aio-imaginary
|
||||
spec:
|
||||
ports:
|
||||
- name: "9000"
|
||||
port: 9000
|
||||
targetPort: 9000
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-imaginary
|
||||
{{- end }}
|
||||
|
|
@ -117,6 +117,9 @@ spec:
|
|||
value: "{{ .Values.UPDATE_NEXTCLOUD_APPS }}"
|
||||
image: nextcloud/aio-nextcloud:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-nextcloud
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
- containerPort: 7867
|
||||
volumeMounts:
|
||||
- mountPath: /var/www/html
|
||||
name: nextcloud-aio-nextcloud
|
||||
|
|
|
|||
19
helm-chart/templates/nextcloud-aio-nextcloud-service.yaml
Normal file
19
helm-chart/templates/nextcloud-aio-nextcloud-service.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-nextcloud
|
||||
name: nextcloud-aio-nextcloud
|
||||
spec:
|
||||
ports:
|
||||
- name: "9000"
|
||||
port: 9000
|
||||
targetPort: 9000
|
||||
- name: "7867"
|
||||
port: 7867
|
||||
targetPort: 7867
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-nextcloud
|
||||
|
|
@ -44,6 +44,8 @@ spec:
|
|||
value: "{{ .Values.TIMEZONE }}"
|
||||
image: nextcloud/aio-onlyoffice:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-onlyoffice
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- mountPath: /var/lib/onlyoffice
|
||||
name: nextcloud-aio-onlyoffice
|
||||
|
|
|
|||
18
helm-chart/templates/nextcloud-aio-onlyoffice-service.yaml
Normal file
18
helm-chart/templates/nextcloud-aio-onlyoffice-service.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{{- if eq .Values.ONLYOFFICE_ENABLED "yes" }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-onlyoffice
|
||||
name: nextcloud-aio-onlyoffice
|
||||
spec:
|
||||
ports:
|
||||
- name: "80"
|
||||
port: 80
|
||||
targetPort: 80
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-onlyoffice
|
||||
{{- end }}
|
||||
|
|
@ -39,6 +39,8 @@ spec:
|
|||
value: "{{ .Values.TIMEZONE }}"
|
||||
image: nextcloud/aio-redis:20230124_100035-{{ .Values.IMAGE_TAG }}
|
||||
name: nextcloud-aio-redis
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: nextcloud-aio-redis
|
||||
|
|
|
|||
16
helm-chart/templates/nextcloud-aio-redis-service.yaml
Normal file
16
helm-chart/templates/nextcloud-aio-redis-service.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
kompose.cmd: kompose convert -c -f latest.yml
|
||||
kompose.version: 1.28.0 (c4137012e)
|
||||
labels:
|
||||
io.kompose.service: nextcloud-aio-redis
|
||||
name: nextcloud-aio-redis
|
||||
spec:
|
||||
ports:
|
||||
- name: "6379"
|
||||
port: 6379
|
||||
targetPort: 6379
|
||||
selector:
|
||||
io.kompose.service: nextcloud-aio-redis
|
||||
|
|
@ -52,6 +52,7 @@ cat << EOL > /tmp/initcontainers
|
|||
volumeMountsInitContainer:
|
||||
EOL
|
||||
cat << EOL > /tmp/initcontainers.database
|
||||
initContainers:
|
||||
- name: init-volumes
|
||||
image: alpine
|
||||
command:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue