82 lines
1.8 KiB
YAML
82 lines
1.8 KiB
YAML
cops:
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
replicas: 1
|
|
strategy: Recreate
|
|
revisionHistoryLimit: 3
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: linuxserver/cops
|
|
tag: 2.3.1-ls185
|
|
pullPolicy: IfNotPresent
|
|
env:
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: US/Central
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
serviceAccount:
|
|
create: true
|
|
service:
|
|
web:
|
|
controller: main
|
|
ports:
|
|
http:
|
|
port: 80
|
|
targetPort: 80
|
|
protocol: HTTP
|
|
persistence:
|
|
config:
|
|
storageClass: ceph-block
|
|
accessMode: ReadWriteOnce
|
|
size: 5Gi
|
|
retain: true
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /config
|
|
readOnly: false
|
|
books:
|
|
existingClaim: calibre-server-nfs-storage
|
|
advancedMounts:
|
|
main:
|
|
main:
|
|
- path: /books
|
|
readOnly: true
|
|
cloudflared:
|
|
global:
|
|
nameOverride: cloudflared
|
|
controllers:
|
|
main:
|
|
type: deployment
|
|
strategy: Recreate
|
|
containers:
|
|
main:
|
|
image:
|
|
repository: cloudflare/cloudflared
|
|
tag: "2024.5.0"
|
|
pullPolicy: IfNotPresent
|
|
args:
|
|
- tunnel
|
|
- --no-autoupdate
|
|
- run
|
|
- --token
|
|
- $(CF_MANAGED_TUNNEL_TOKEN)
|
|
env:
|
|
- name: CF_MANAGED_TUNNEL_TOKEN
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: cops-cloudflared-secret
|
|
key: cf-tunnel-token
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|