strato-infra/flux/cluster/apps/asraphiel/umami/deployment.yaml

42 lines
1,000 B
YAML
Raw Permalink Normal View History

2022-05-25 19:13:13 +02:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: umami-deployment
namespace: asraphiel
labels:
app: umami-deployment
2022-05-25 19:16:12 +02:00
annotations:
2022-05-25 19:16:50 +02:00
keel.sh/policy: force
keel.sh/trigger: poll
2022-05-25 19:13:13 +02:00
keel.sh/match-tag: "true"
keel.sh/pollSchedule: "@weekly"
spec:
replicas: 1
selector:
matchLabels:
app: umami-deployment
template:
metadata:
labels:
app: umami-deployment
spec:
containers:
- name: umami-deployment
imagePullPolicy: Always
image: ghcr.io/mikecao/umami:postgresql-latest
ports:
- containerPort: 3000
env:
- name: DATABASE_TYPE
value: postgres
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: umami-secrets
key: db-url
- name: HASH_SALT
valueFrom:
secretKeyRef:
name: umami-secrets
key: salt