Skip to content

Commit

Permalink
Merge pull request #25 from alchemy-fr/PHRAS-3983_rm_initcontainer
Browse files Browse the repository at this point in the history
PHRAS-3983 rm initcontainer from scheduler
  • Loading branch information
nmaillat authored Dec 14, 2023
2 parents b438ce8 + adf7c73 commit 34ed148
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions charts/phraseanet/templates/worker-scheduler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,4 @@ spec:
value: "C.UTF-8"
- name: LC_NAME
value: "C.UTF-8"
initContainers:
- name: create-tmp-locks
image: {{ .Values.image.registry }}/phraseanet-worker:{{ .Values.image.tag.phraseanet }}
volumeMounts:
- name: phraseanet-tmp
mountPath: "/var/alchemy/Phraseanet/tmp"
command: ['mkdir', '-p', '/var/alchemy/Phraseanet/tmp/locks']
- name: chown-phraseanet-tmp
image: {{ .Values.image.registry }}/phraseanet-worker:{{ .Values.image.tag.phraseanet }}
volumeMounts:
- name: phraseanet-tmp
mountPath: "/var/alchemy/Phraseanet/tmp"
command: ['chown', '-R', 'app:app', '/var/alchemy/Phraseanet/tmp']
{{- end }}
{{- end }}

0 comments on commit 34ed148

Please sign in to comment.