This commit is contained in:
+2
-3
@@ -62,7 +62,6 @@ spec:
|
||||
mountPath: /app/store
|
||||
volumes:
|
||||
- name: assets
|
||||
hostPath:
|
||||
path: /opt/enka-api-assets
|
||||
type: DirectoryOrCreate
|
||||
persistentVolumeClaim:
|
||||
claimName: enka-embed-assets-lh
|
||||
terminationGracePeriodSeconds: 30
|
||||
|
||||
@@ -8,6 +8,7 @@ resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
- pvc.yaml
|
||||
- secret.yaml
|
||||
- service-account.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