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
Raw Normal View History

2021-01-10 20:10:35 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: joex
name: joex
namespace: docspell
spec:
replicas: 1
selector:
matchLabels:
app: joex
2021-01-31 16:42:50 +00:00
strategy:
type: Recreate
2021-01-10 20:10:35 +00:00
template:
metadata:
labels:
app: joex
spec:
containers:
2021-04-16 18:29:58 +00:00
- image: docker.io/eikek0/docspell:joex-v0.22.0
2021-01-10 20:10:35 +00:00
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