añadido configmap

This commit is contained in:
2025-05-04 09:06:23 +00:00
parent d85a908560
commit d7f4bae374
2 changed files with 25 additions and 1 deletions

View File

@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: nextcloud
image: nextcloud:latest
image: nextcloud:31
env:
- name: MYSQL_PASSWORD
value: nextcloud
@ -29,7 +29,13 @@ spec:
volumeMounts:
- mountPath: /var/www/html
name: nextcloud-storage
- mountPath: /var/www/html/config/custom.config.php
name: custom-config
subPath: custom.config.php
volumes:
- name: nextcloud-storage
persistentVolumeClaim:
claimName: nextcloud-pvc
- name: custom-config
configMap:
name: nextcloud-custom-config