mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
38 lines
907 B
YAML
38 lines
907 B
YAML
---
|
|
kind: Pod
|
|
apiVersion: v1
|
|
metadata:
|
|
name: nitro-maintenance-worker
|
|
namespace: human-connection
|
|
spec:
|
|
containers:
|
|
- name: nitro-maintenance-worker
|
|
image: humanconnection/maintenance-worker:latest
|
|
env:
|
|
- name: NEO4J_apoc_import_file_enabled
|
|
value: "true"
|
|
envFrom:
|
|
- configMapRef:
|
|
name: maintenance-worker
|
|
- configMapRef:
|
|
name: configmap
|
|
volumeMounts:
|
|
- name: secret-volume
|
|
readOnly: false
|
|
mountPath: /root/.ssh
|
|
- name: uploads
|
|
mountPath: /uploads
|
|
- name: neo4j-data
|
|
mountPath: /data/
|
|
volumes:
|
|
- name: secret-volume
|
|
secret:
|
|
secretName: ssh-keys
|
|
defaultMode: 0400
|
|
- name: uploads
|
|
persistentVolumeClaim:
|
|
claimName: uploads-claim
|
|
- name: neo4j-data
|
|
persistentVolumeClaim:
|
|
claimName: neo4j-data-claim
|