remove old job
This commit is contained in:
parent
8fe7e207fa
commit
ce09636223
1 changed files with 0 additions and 40 deletions
|
|
@ -1,40 +0,0 @@
|
|||
# sX/vQ3gaDErEFr9wuYqlaJ/yWdswBMkY4wczeq6t3bEgwo2Ia+vHcN9pbf7dBjahEihjkZ7jS5W48DIfmOFsug==
|
||||
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: migrate
|
||||
namespace: darkdork-dev
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: registry-credentials
|
||||
containers:
|
||||
- name: migrate
|
||||
image: cr.forge.lan/darkdork-dev/pleroma:latest
|
||||
command: [ "/bin/ash", "-c", "/opt/pleroma/bin/pleroma_ctl migrate" ]
|
||||
env:
|
||||
- name: DB_HOST
|
||||
value: postgres
|
||||
- name: DB_NAME
|
||||
value: pleroma
|
||||
- name: DB_USER
|
||||
value: pleroma
|
||||
- name: DB_PASS
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: postgres
|
||||
key: postgres-password
|
||||
volumeMounts:
|
||||
- name: pleroma-config-volume
|
||||
mountPath: /etc/pleroma/config.exs
|
||||
subPath: config.exs
|
||||
restartPolicy: Never
|
||||
volumes:
|
||||
- name: pleroma-config-volume
|
||||
configMap:
|
||||
name: pleroma-config
|
||||
defaultMode: 0640 # Pleroma is picky about config file permissions.
|
||||
securityContext:
|
||||
fsGroup: 1000 # Ensures pleroma can still read the config file
|
||||
Loading…
Add table
Add a link
Reference in a new issue