This commit is contained in:
+2
-3
@@ -62,7 +62,6 @@ spec:
|
|||||||
mountPath: /app/store
|
mountPath: /app/store
|
||||||
volumes:
|
volumes:
|
||||||
- name: assets
|
- name: assets
|
||||||
hostPath:
|
persistentVolumeClaim:
|
||||||
path: /opt/enka-api-assets
|
claimName: enka-embed-assets-lh
|
||||||
type: DirectoryOrCreate
|
|
||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ resources:
|
|||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
- pvc.yaml
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
- service-account.yaml
|
- service-account.yaml
|
||||||
- role.yaml
|
- role.yaml
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: enka-embed-assets-lh
|
||||||
|
namespace: enka
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: longhorn
|
||||||
Reference in New Issue
Block a user