X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Finfra%2Fplaybooks%2Froles%2Fapplcm%2Ffiles%2Fdeploy%2Fpostgres-storage.yaml;fp=ocd%2Finfra%2Fplaybooks%2Froles%2Fapplcm%2Ffiles%2Fdeploy%2Fpostgres-db-pvc.yaml;h=9119282db3676031cdef3beca4f338c6ae06e3ac;hb=ba3cc47a9e2ef5438bc7a8a1c6440ae708acd122;hp=85aac621ba6a964e417ea110e6e65cb16398fe33;hpb=5a2b07cc1f31a6c38d748c7f996689a2e6dbe643;p=ealt-edge.git diff --git a/ocd/infra/playbooks/roles/applcm/files/deploy/postgres-db-pvc.yaml b/ocd/infra/playbooks/roles/applcm/files/deploy/postgres-storage.yaml similarity index 95% rename from ocd/infra/playbooks/roles/applcm/files/deploy/postgres-db-pvc.yaml rename to ocd/infra/playbooks/roles/applcm/files/deploy/postgres-storage.yaml index 85aac62..9119282 100644 --- a/ocd/infra/playbooks/roles/applcm/files/deploy/postgres-db-pvc.yaml +++ b/ocd/infra/playbooks/roles/applcm/files/deploy/postgres-storage.yaml @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - # persistent volume --- kind: PersistentVolume @@ -29,15 +28,12 @@ spec: accessModes: - ReadWriteMany hostPath: - path: "/data" - -# pvc + path: "/mnt/data" --- kind: PersistentVolumeClaim apiVersion: v1 metadata: name: postgres-pv-claim - namespace: default labels: app: postgres spec: