apps(sharkey): Add init container for config
parent
6808fcdfa1
commit
1197940d69
@ -1,23 +1,25 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolume
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: sharkey-files
|
name: sharkey-files-pvc
|
||||||
namespace: sharkey
|
namespace: sharkey
|
||||||
spec:
|
spec:
|
||||||
capacity:
|
|
||||||
storage: 10Gi
|
|
||||||
storageClassName: "ebs-hdd"
|
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
claimRef:
|
storageClassName: "ebs-hdd"
|
||||||
name: sharkey-files-pvc
|
resources:
|
||||||
namespace: sharkey
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
metadata:
|
metadata:
|
||||||
name: sharkey-files-pvc
|
name: sharkey-config-pvc
|
||||||
namespace: sharkey
|
namespace: sharkey
|
||||||
spec:
|
spec:
|
||||||
storageClassName: "ebs-hdd"
|
accessModes:
|
||||||
volumeName: sharkey-files
|
- ReadWriteOnce
|
||||||
|
storageClassName: "ebs-ssd"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
||||||
|
Loading…
Reference in New Issue