Parameterize the storage size
This commit is contained in:
parent
ea3a968fb1
commit
0c380f192b
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue