2022-12-22 12:29:31 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2024-02-28 18:30:56 +00:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
2024-06-06 08:00:47 +00:00
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
2022-12-22 12:29:31 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-redis
|
|
|
|
|
name: nextcloud-aio-redis
|
2024-02-28 18:30:56 +00:00
|
|
|
namespace: "{{ .Values.NAMESPACE }}"
|
2022-12-22 12:29:31 +00:00
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-redis
|
2024-03-08 09:34:27 +00:00
|
|
|
strategy:
|
|
|
|
|
type: Recreate
|
2022-12-22 12:29:31 +00:00
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
annotations:
|
2024-02-28 18:30:56 +00:00
|
|
|
kompose.cmd: kompose convert -c -f latest.yml --namespace "{{ .Values.NAMESPACE }}"
|
2024-06-06 08:00:47 +00:00
|
|
|
kompose.version: 1.34.0 (cbf2835db)
|
2022-12-22 12:29:31 +00:00
|
|
|
labels:
|
|
|
|
|
io.kompose.service: nextcloud-aio-redis
|
|
|
|
|
spec:
|
2023-02-01 16:00:52 +01:00
|
|
|
initContainers:
|
|
|
|
|
- name: init-volumes
|
2024-08-16 11:46:21 +02:00
|
|
|
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.ALPINE_IMAGE_ORG }}alpine"
|
2023-02-01 16:00:52 +01:00
|
|
|
command:
|
|
|
|
|
- chmod
|
2023-02-01 18:51:40 +01:00
|
|
|
- "777"
|
2023-02-01 16:00:52 +01:00
|
|
|
- /nextcloud-aio-redis
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: nextcloud-aio-redis
|
|
|
|
|
mountPath: /nextcloud-aio-redis
|
2022-12-22 12:29:31 +00:00
|
|
|
containers:
|
|
|
|
|
- env:
|
|
|
|
|
- name: REDIS_HOST_PASSWORD
|
|
|
|
|
value: "{{ .Values.REDIS_PASSWORD }}"
|
|
|
|
|
- name: TZ
|
|
|
|
|
value: "{{ .Values.TIMEZONE }}"
|
2024-09-25 08:14:31 +00:00
|
|
|
image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-redis:20240925_080419"
|
2022-12-22 12:29:31 +00:00
|
|
|
name: nextcloud-aio-redis
|
2023-02-02 15:44:37 +01:00
|
|
|
ports:
|
|
|
|
|
- containerPort: 6379
|
2023-07-20 13:54:51 +00:00
|
|
|
protocol: TCP
|
2024-03-08 09:34:27 +00:00
|
|
|
securityContext:
|
|
|
|
|
capabilities:
|
|
|
|
|
drop:
|
|
|
|
|
- NET_RAW
|
2022-12-22 12:29:31 +00:00
|
|
|
volumeMounts:
|
|
|
|
|
- mountPath: /data
|
|
|
|
|
name: nextcloud-aio-redis
|
|
|
|
|
volumes:
|
|
|
|
|
- name: nextcloud-aio-redis
|
|
|
|
|
persistentVolumeClaim:
|
|
|
|
|
claimName: nextcloud-aio-redis
|