Add a pvc

This commit is contained in:
Ovidio Mallo 2016-12-08 23:53:28 +01:00
parent fa84cb2546
commit ea3a968fb1

View file

@ -1,6 +1,21 @@
apiVersion: v1
kind: Template
objects:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ${APP}-data
labels:
app: ${APP}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
selector:
matchLabels:
durability: ${STORAGE_DURABILITY}
- apiVersion: v1
kind: DeploymentConfig
metadata: