2023-02-05 04:24:50 +00:00
|
|
|
resources:
|
2021-08-27 04:57:25 +00:00
|
|
|
- ../postgres
|
2021-08-28 03:54:21 +00:00
|
|
|
- ../redis
|
2020-05-02 01:55:34 +00:00
|
|
|
- nextcloud-deployment.yaml
|
2023-06-10 20:07:25 +00:00
|
|
|
- nextcloud-cronjob.yaml
|
2023-06-14 04:42:12 +00:00
|
|
|
- previewgenerator-cronjob.yaml
|
2021-08-27 04:57:25 +00:00
|
|
|
- nextcloud-ingress.yaml
|
2021-12-27 00:11:38 +00:00
|
|
|
|
2023-02-28 05:06:48 +00:00
|
|
|
namePrefix: nextcloud-
|
|
|
|
|
2021-12-27 00:11:38 +00:00
|
|
|
commonLabels:
|
|
|
|
app.kubernetes.io/name: nextcloud
|
2023-02-20 14:07:49 +00:00
|
|
|
|
2023-02-28 05:06:48 +00:00
|
|
|
configMapGenerator:
|
2023-06-12 17:29:18 +00:00
|
|
|
- name: server-config
|
2023-06-10 06:48:24 +00:00
|
|
|
files:
|
|
|
|
- php-user.ini=configurations/php-user.ini
|
2023-06-12 17:29:18 +00:00
|
|
|
- apache-user.cfg=configurations/apache-user.conf
|
2023-06-14 04:42:12 +00:00
|
|
|
- name: cron-scripts
|
|
|
|
files:
|
|
|
|
- cron-previewgenerator.sh=scripts/cron-previewgenerator.sh
|
2023-02-28 05:06:48 +00:00
|
|
|
- name: kustomize-generated-config
|
|
|
|
literals:
|
|
|
|
- NEXTCLOUD_EXTERNAL_HOST=cloud.badjware.dev
|
|
|
|
|
|
|
|
replacements:
|
|
|
|
- source:
|
|
|
|
kind: ConfigMap
|
|
|
|
name: kustomize-generated-config
|
|
|
|
fieldPath: data.NEXTCLOUD_EXTERNAL_HOST
|
|
|
|
targets:
|
|
|
|
- select:
|
|
|
|
kind: Ingress
|
|
|
|
name: server
|
|
|
|
fieldPaths:
|
|
|
|
- spec.rules.0.host
|
|
|
|
|
2023-02-20 14:26:17 +00:00
|
|
|
patches:
|
|
|
|
- patch: |-
|
2023-02-20 14:07:49 +00:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: postgres-credentials
|
|
|
|
spec:
|
|
|
|
data:
|
|
|
|
- secretKey: database
|
|
|
|
remoteRef:
|
|
|
|
key: /k3s/prod/nextcloud/postgres/database
|
|
|
|
- secretKey: username
|
|
|
|
remoteRef:
|
|
|
|
key: /k3s/prod/nextcloud/postgres/username
|
|
|
|
- secretKey: password
|
|
|
|
remoteRef:
|
|
|
|
key: /k3s/prod/nextcloud/postgres/password
|
2023-02-20 14:26:17 +00:00
|
|
|
- patch: |-
|
2023-02-20 14:07:49 +00:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
|
|
|
name: redis-credentials
|
|
|
|
spec:
|
|
|
|
data:
|
|
|
|
- secretKey: password
|
|
|
|
remoteRef:
|
|
|
|
key: /k3s/prod/nextcloud/redis/password
|