Glance: make PV flexible
This PS makes the PV used for the file backend flexible, allowing operators to specify the annotation and size used/allocated. Change-Id: I6d153143f9cc268c4c543e392ddf115e5db67a57
This commit is contained in:
parent
a620416a0f
commit
caf549386b
@ -18,10 +18,10 @@ apiVersion: v1
|
|||||||
metadata:
|
metadata:
|
||||||
name: glance-images
|
name: glance-images
|
||||||
annotations:
|
annotations:
|
||||||
volume.beta.kubernetes.io/storage-class: general
|
{{ .Values.volume.class_path }}: {{ .Values.volume.class_name }}
|
||||||
spec:
|
spec:
|
||||||
accessModes: [ "ReadWriteOnce" ]
|
accessModes: [ "ReadWriteOnce" ]
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 20Gi
|
storage: {{ .Values.volume.size }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -152,6 +152,11 @@ ceph:
|
|||||||
# common/secrets/ceph-client-key
|
# common/secrets/ceph-client-key
|
||||||
glance_keyring: null
|
glance_keyring: null
|
||||||
|
|
||||||
|
volume:
|
||||||
|
class_path: volume.beta.kubernetes.io/storage-class
|
||||||
|
class_name: general
|
||||||
|
size: 2Gi
|
||||||
|
|
||||||
misc:
|
misc:
|
||||||
workers: 8
|
workers: 8
|
||||||
debug: false
|
debug: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user