1
0
Fork 0
home-stack-kustomize/kustomize/bases/nextcloud/kustomization.yaml

37 lines
876 B
YAML
Raw Normal View History

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
2021-08-27 04:57:25 +00:00
- nextcloud-ingress.yaml
2021-12-27 00:11:38 +00:00
commonLabels:
app.kubernetes.io/name: nextcloud
patches:
- patch: |-
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
- patch: |-
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: redis-credentials
spec:
data:
- secretKey: password
remoteRef:
key: /k3s/prod/nextcloud/redis/password