diff --git a/linkwarden/resources/deployment.yaml b/linkwarden/resources/deployment.yaml index f9a62b2..21db38f 100644 --- a/linkwarden/resources/deployment.yaml +++ b/linkwarden/resources/deployment.yaml @@ -16,16 +16,22 @@ spec: app.kubernetes.io/name: linkwarden spec: initContainers: - - name: install-packages - image: linkwarden - command: ["/bin/bash", "-c", "npx playwright install"] - volumeMounts: - - name: node-cache - mountPath: /home/node/.cache + # - name: install-packages + # image: linkwarden + # command: ["/bin/bash", "-c", "npx playwright install"] + # volumeMounts: + # - name: node-cache + # mountPath: /home/node/.cache - name: run-prisma-migrations image: linkwarden command: ["/data/node_modules/.bin/prisma"] args: ["migrate", "deploy"] + env: + - name: DATABASE_URL + valueFrom: + secretKeyRef: + name: default-cluster-pguser-linkwarden + key: uri containers: - name: linkwarden image: linkwarden