infra/k8s/miniflux/miniflux.yaml

69 lines
2 KiB
YAML
Raw Normal View History

2024-07-18 04:32:13 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: miniflux
labels:
app: miniflux
spec:
replicas: 2
selector:
matchLabels:
app: miniflux
template:
metadata:
labels:
app: miniflux
spec:
containers:
- name: miniflux
image: docker.io/miniflux/miniflux:latest
2024-07-18 04:32:13 +00:00
imagePullPolicy: Always
resources: {}
envFrom:
- secretRef:
name: miniflux
env:
- name: DATABASE_URL
value: "postgresql://miniflux-database.miniflux.svc.cluster.local/miniflux"
- name: PGUSER
valueFrom:
secretKeyRef:
name: miniflux.miniflux-database.credentials.postgresql.acid.zalan.do
key: username
- name: PGPASSWORD
valueFrom:
secretKeyRef:
name: miniflux.miniflux-database.credentials.postgresql.acid.zalan.do
key: password
- name: RUN_MIGRATIONS
value: "1"
- name: BASE_URL
value: https://miniflux.janky.solutions
- name: HTTPS
value: "1"
- name: MEDIA_PROXY_MODE
value: all
- name: METRICS_COLLECTOR
value: "1"
- name: METRICS_ALLOWED_NETWORKS
value: 10.42.0.0/16
- name: OAUTH2_PROVIDER
value: oidc
- name: OAUTH2_OIDC_DISCOVERY_ENDPOINT
2024-07-28 02:11:38 +00:00
value: https://auth.janky.solutions/realms/janky.solutions
2024-07-18 04:32:13 +00:00
- name: OAUTH2_REDIRECT_URL
value: https://miniflux.janky.solutions/oauth2/oidc/callback
- name: OAUTH2_CLIENT_ID
value: miniflux
- name: OAUTH2_USER_CREATION
value: "1"
- name: DISABLE_LOCAL_AUTH
value: "1"
2024-08-13 07:11:31 +00:00
- name: OAUTH2_OIDC_PROVIDER_NAME
value: Janky Solutions
2024-07-18 04:32:13 +00:00
ports:
- name: web
containerPort: 8080