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

40 lines
958 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: umami-deployment
namespace: asraphiel
labels:
app: umami-deployment
keel.sh/policy: poll
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