This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/docspell/joex/deployment.yaml

39 lines
769 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: joex
name: joex
namespace: docspell
spec:
replicas: 1
selector:
matchLabels:
app: joex
strategy:
type: Recreate
template:
metadata:
labels:
app: joex
spec:
containers:
- image: docker.io/eikek0/docspell:joex-v0.22.0
name: joex
args:
- /etc/docspell/docspell.conf
envFrom:
- configMapRef:
name: docspell-env
- secretRef:
name: docspell
ports:
- containerPort: 7878
volumeMounts:
- name: config-volume
mountPath: /etc/docspell
volumes:
- name: config-volume
configMap:
name: docspell-config