diff --git a/manifests/database/deployment.yaml b/manifests/database/deployment.yaml index 1f4dc72..2cf6ba7 100644 --- a/manifests/database/deployment.yaml +++ b/manifests/database/deployment.yaml @@ -16,6 +16,9 @@ spec: containers: - name: postgres image: postgres:16-alpine + env: + - name: POSTGRES_INITDB_ARGS + value: "--no-sync" envFrom: - secretRef: name: postgres-secret diff --git a/manifests/database/pvc.yaml b/manifests/database/pvc.yaml index d12e40d..152d9ed 100644 --- a/manifests/database/pvc.yaml +++ b/manifests/database/pvc.yaml @@ -8,4 +8,5 @@ spec: - ReadWriteOnce resources: requests: - storage: 1Gi \ No newline at end of file + storage: 1Gi + storageClassName: local-path \ No newline at end of file