Gluttony-Cluster/freshrss/freshrss-deployment.yaml

58 lines
1.5 KiB
YAML
Raw Normal View History

2023-10-15 03:15:26 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: freshrss
namespace: freshrss-ns
spec:
replicas: 1
selector:
matchLabels:
app: freshrss
template:
metadata:
labels:
app: freshrss
spec:
containers:
- name: freshrss
image: linuxserver/freshrss
2023-11-10 18:23:43 +00:00
env:
- name: OIDC_ENABLED
2023-11-10 18:30:24 +00:00
value: "TRUE"
2023-11-10 18:23:43 +00:00
- name: OIDC_REMOTE_USER_CLAIM
2023-11-10 18:30:24 +00:00
value: "preferred_username"
2023-11-10 18:23:43 +00:00
- name: OIDC_SCOPES
value: "openid profile"
- name: OIDC_X_FORWARDED_HEADERS
value: "X-Forwarded-Host X-Forwarded-Port X-Forwarded-Proto"
- name: OIDC_PROVIDER_METADATA_URL
valueFrom:
secretKeyRef:
2023-11-10 18:27:34 +00:00
name: freshrss-oidc-config
2023-11-10 18:23:43 +00:00
key: metadata-url
- name: OIDC_CLIENT_ID
valueFrom:
secretKeyRef:
2023-11-10 18:27:34 +00:00
name: freshrss-oidc-config
2023-11-10 18:23:43 +00:00
key: client-id
- name: OIDC_CLIENT_SECRET
valueFrom:
secretKeyRef:
2023-11-10 18:27:34 +00:00
name: freshrss-oidc-config
2023-11-10 18:23:43 +00:00
key: client-secret
- name: OIDC_CLIENT_CRYPTO_KEY
valueFrom:
secretKeyRef:
2023-11-10 18:27:34 +00:00
name: freshrss-oidc-config
2023-11-10 18:23:43 +00:00
key: crypto-key
2023-10-15 03:15:26 +00:00
ports:
- containerPort: 80
volumeMounts:
- name: freshrss-storage
mountPath: /config
volumes:
- name: freshrss-storage
persistentVolumeClaim:
claimName: freshrss-pvc