Parameterize the storage size

This commit is contained in:
Ovidio Mallo 2016-12-09 01:13:22 +01:00
parent ea3a968fb1
commit 0c380f192b

View file

@ -12,7 +12,7 @@ objects:
- ReadWriteOnce - ReadWriteOnce
resources: resources:
requests: requests:
storage: 10Gi storage: ${STORAGE_SIZE}
selector: selector:
matchLabels: matchLabels:
durability: ${STORAGE_DURABILITY} durability: ${STORAGE_DURABILITY}
@ -101,3 +101,7 @@ parameters:
displayName: Storage durability displayName: Storage durability
name: STORAGE_DURABILITY name: STORAGE_DURABILITY
value: permanent value: permanent
- description: The size of the storage to reclaim.
displayName: Storage size
name: STORAGE_SIZE
value: 5Gi