This commit is contained in:
parent
4082a64f54
commit
faf9586e75
58
freshrss/freshrss-deployment.yaml
Normal file
58
freshrss/freshrss-deployment.yaml
Normal file
@ -0,0 +1,58 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: freshrss
|
||||
namespace: freshrss-ns
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: freshrss
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: freshrss
|
||||
spec:
|
||||
strategy:
|
||||
type: Recreate
|
||||
containers:
|
||||
- name: freshrss
|
||||
image: freshrss/freshrss
|
||||
env:
|
||||
- name: CRON_MIN
|
||||
value: "*/10"
|
||||
- name: OIDC_ENABLED
|
||||
value: "1"
|
||||
- name: OIDC_SCOPES
|
||||
value: "openid profile email"
|
||||
- name: OIDC_X_FORWARDED_HEADERS
|
||||
value: "X-Forwarded-Host X-Forwarded-Port X-Forwarded-Proto"
|
||||
- name: OIDC_PROVIDER_METADATA_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: freshrss-oidc-config
|
||||
key: OIDC_PROVIDER_METADATA_URL
|
||||
- name: OIDC_CLIENT_ID
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: freshrss-oidc-config
|
||||
key: OIDC_CLIENT_ID
|
||||
- name: OIDC_CLIENT_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: freshrss-oidc-config
|
||||
key: OIDC_CLIENT_SECRET
|
||||
- name: OIDC_CLIENT_CRYPTO_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: freshrss-oidc-config
|
||||
key: OIDC_CLIENT_CRYPTO_KEY
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
- name: freshrss-storage
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: freshrss-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: freshrss-pvc
|
12
freshrss/freshrss-pvc.yaml
Normal file
12
freshrss/freshrss-pvc.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: freshrss-pvc
|
||||
namespace: freshrss-ns
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
13
freshrss/freshrss-service.yaml
Normal file
13
freshrss/freshrss-service.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: freshrss-service
|
||||
namespace: freshrss-ns
|
||||
spec:
|
||||
selector:
|
||||
app: freshrss
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
targetPort: 80
|
||||
type: LoadBalancer
|
17
freshrss/sealed-secret.yaml
Normal file
17
freshrss/sealed-secret.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
apiVersion: bitnami.com/v1alpha1
|
||||
kind: SealedSecret
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: freshrss-oidc-config
|
||||
namespace: freshrss-ns
|
||||
spec:
|
||||
encryptedData:
|
||||
OIDC_CLIENT_CRYPTO_KEY: AgAXVFKET2896vplk8EB1NtSBahDBSyXjnoRhyD3ZsIKSyoO2dkxRuBA9h6lYikIDnmD31LBE8Onu1KOnsEOg0HFLYls80VEGZhn3Dq9KmLxZvDvSORLMXa0bXD1oDSN1RWeNTcGBFOswkyXgJITpvU0rt8w5g1isr6A+g0JrLV7BG/OHZxy+D7VE6QZfFu+xlz64J0TUn5z6wHxU5asHzmiBdn3mxhMvoYv8KdvNDfpm2hKPvp2sJL7TBrp/GXqm2rT7kaYjGqc7Jm48PyLif3UajUrGpPR0Hjraox7cYkAFebmtepbqFZkoRZpfwY6fxObdlsgmknam9EE4/7ZFc+QJzXm1utTWL6s8v1WidB8ily1Bh6zXFLv2eLw+7q2V/0xxW+WQCV8jNEQaeqO2kA6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ss5BAych9NiJT7JPn0SqB7id3ByBP/A9hah4bNkXxioiLGZ57h/qYI3hYLP+22ywfdB051tAZx3ytiZhNAIJUmUjjz4dMJOwxI2jCZ2A7d0liF1TpkSjafHZIOnG05S4AfIRWMeIP2+F3Ar8kdNAtH8bpfmzwWcCho4J4O4UTavR1CHaGxteyJAt56dl2+7iSvtdbMI2QKhr4v4fYKG5Kl2BJ8s0/dvrjZ6tRSengBK0ei6CLoXHo/eEc797gXNWD22Mw+OuhKaEAxjuF9VbcNJbF8kgQSniPBsAKe/NH0B66374iUzfJUa0mkoE8RuvJ/DKlREUMn4oZfxuD/lGVLzOopyQ73M+ukhLScUgqThBZITk67iSxK7HxIuV/unr4jSmtLepH1nNEZ335fqEBOpV2pw92S0Fw0YKSr3iXGy4/x8agBiXCfPOMa7/1B6ekk5gHdi3BBL/PS1NPb/q4V2yGgzPq6f8ZKZjQ3Q7VgCf3x4ybg+unAZlFoC/qV5Bfd3vUNcWXnsFLIXcfykme/NrNp+ScuXUVAmb1bWxMhV60Jb0zXcaC0gSMuSbkFvNKX8BaGr1QFUBLTyg4712vpH8N4F3mYfDTGhzD5QGF1njBkpAuZyeOFRtU/SUsfidgDMhivmgnN41hpPxBo9GmD/MXYpZunXszkAhuJit4RMOHg==
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: freshrss-oidc-config
|
||||
namespace: freshrss-ns
|
Loading…
Reference in New Issue
Block a user