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/pylokid/pylokid.yaml

40 lines
917 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: pylokid
name: pylokid
namespace: pylokid
spec:
replicas: 1
selector:
matchLabels:
app: pylokid
strategy: {}
template:
metadata:
labels:
app: pylokid
spec:
containers:
- image: tobru/pylokid:latest
name: pylokid
resources: {}
env:
- name: IMAP_SERVER
value: imap.mailbox.org
- name: WEBDAV_URL
value: https://files.feuerwehrurdorf.ch/remote.php/webdav/
- name: WEBDAV_BASEDIR
value: /Stab/Fourier/Einsatzdepeschen
- name: LODUR_BASE_URL
value: https://lodur-zh.ch/urdorf/index.php
- name: IMAP_CHECK_INTERVAL
value: '30'
envFrom:
- secretRef:
name: pylokid
ports:
- containerPort: 8080
protocol: TCP