chore: Update manifests after change
This commit is contained in:
@@ -142,6 +142,7 @@ data:
|
|||||||
radarr-standup IN CNAME traefik-cl01tl
|
radarr-standup IN CNAME traefik-cl01tl
|
||||||
searxng IN CNAME traefik-cl01tl
|
searxng IN CNAME traefik-cl01tl
|
||||||
seerr IN CNAME traefik-cl01tl
|
seerr IN CNAME traefik-cl01tl
|
||||||
|
shelfmark IN CNAME traefik-cl01tl
|
||||||
slskd IN CNAME traefik-cl01tl
|
slskd IN CNAME traefik-cl01tl
|
||||||
sonarr IN CNAME traefik-cl01tl
|
sonarr IN CNAME traefik-cl01tl
|
||||||
sonarr-4k IN CNAME traefik-cl01tl
|
sonarr-4k IN CNAME traefik-cl01tl
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/configMaps: 215011b94b0bb92641acbfc96679d7e30fc8dd12f71aa2449932ac27b32b76c2
|
checksum/configMaps: d4c738049acf130c0df3b002369b17334c083569b071d1da101eea2e264a6b06
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/controller: main
|
app.kubernetes.io/controller: main
|
||||||
app.kubernetes.io/instance: blocky
|
app.kubernetes.io/instance: blocky
|
||||||
|
|||||||
@@ -615,8 +615,8 @@ data:
|
|||||||
- '[CERTIFICATE_EXPIRATION] > 240h'
|
- '[CERTIFICATE_EXPIRATION] > 240h'
|
||||||
group: core
|
group: core
|
||||||
interval: 30s
|
interval: 30s
|
||||||
name: ephemera
|
name: shelfmark
|
||||||
url: https://ephemera.alexlebens.net
|
url: https://shelfmark.alexlebens.net
|
||||||
- alerts:
|
- alerts:
|
||||||
- type: ntfy
|
- type: ntfy
|
||||||
conditions:
|
conditions:
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ spec:
|
|||||||
app.kubernetes.io/name: gatus
|
app.kubernetes.io/name: gatus
|
||||||
app.kubernetes.io/instance: gatus
|
app.kubernetes.io/instance: gatus
|
||||||
annotations:
|
annotations:
|
||||||
checksum/config: 9bf20bec38feed11120c64416e3670fbb77fd9d3f68dd9dca546f7d37d902f86
|
checksum/config: c168bace77339ec919f974f64ca86228f3fc9c307120f0060f296825203cd4c4
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: default
|
serviceAccountName: default
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
|
|||||||
@@ -613,6 +613,12 @@ data:
|
|||||||
siteMonitor: http://slskd.slskd:5030
|
siteMonitor: http://slskd.slskd:5030
|
||||||
statusStyle: dot
|
statusStyle: dot
|
||||||
- Books:
|
- Books:
|
||||||
|
- Shelfmark:
|
||||||
|
icon: sh-shelfmark.webp
|
||||||
|
description: Books
|
||||||
|
href: https://shelfmark.alexlebens.net
|
||||||
|
siteMonitor: http://shelfmark.ephemera:80
|
||||||
|
statusStyle: dot
|
||||||
- Ephemera:
|
- Ephemera:
|
||||||
icon: sh-ephemera.webp
|
icon: sh-ephemera.webp
|
||||||
description: Books
|
description: Books
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ spec:
|
|||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
checksum/configMaps: df984dd7eec71ecfe702ab5cd021a74b07223a4d4a41a16f34d89f48f0eb98d9
|
checksum/configMaps: ae9fe75f211c526b8a421c6cec5396113f9fa3b98c26261d8c07333d8d8aabc7
|
||||||
checksum/secrets: d3ba83f111cd32f92c909268c55ad8bbd4f9e299b74b35b33c1a011180d8b378
|
checksum/secrets: d3ba83f111cd32f92c909268c55ad8bbd4f9e299b74b35b33c1a011180d8b378
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/controller: main
|
app.kubernetes.io/controller: main
|
||||||
|
|||||||
@@ -0,0 +1,74 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: shelfmark
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: shelfmark
|
||||||
|
helm.sh/chart: shelfmark-4.4.0
|
||||||
|
namespace: shelfmark
|
||||||
|
spec:
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/name: shelfmark
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/name: shelfmark
|
||||||
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
|
serviceAccountName: default
|
||||||
|
automountServiceAccountToken: true
|
||||||
|
hostIPC: false
|
||||||
|
hostNetwork: false
|
||||||
|
hostPID: false
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: FLASK_PORT
|
||||||
|
value: "8084"
|
||||||
|
- name: INGEST_DIR
|
||||||
|
value: /ingest
|
||||||
|
- name: SEARCH_MODE
|
||||||
|
value: direct
|
||||||
|
image: ghcr.io/calibrain/shelfmark:v1.0.1
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
livenessProbe:
|
||||||
|
exec:
|
||||||
|
command:
|
||||||
|
- CMD
|
||||||
|
- curl
|
||||||
|
- -sf
|
||||||
|
- http://localhost:8084/api/health
|
||||||
|
failureThreshold: 5
|
||||||
|
initialDelaySeconds: 60
|
||||||
|
periodSeconds: 30
|
||||||
|
successThreshold: 1
|
||||||
|
timeoutSeconds: 30
|
||||||
|
name: main
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 256Mi
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config
|
||||||
|
name: config
|
||||||
|
- mountPath: /ingest
|
||||||
|
name: ingest
|
||||||
|
volumes:
|
||||||
|
- name: config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: shelfmark
|
||||||
|
- name: ingest
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: shelfmark-import-nfs-storage
|
||||||
30
clusters/cl01tl/manifests/shelfmark/HTTPRoute-shelfmark.yaml
Normal file
30
clusters/cl01tl/manifests/shelfmark/HTTPRoute-shelfmark.yaml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: HTTPRoute
|
||||||
|
metadata:
|
||||||
|
name: shelfmark
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: shelfmark
|
||||||
|
helm.sh/chart: shelfmark-4.4.0
|
||||||
|
namespace: shelfmark
|
||||||
|
spec:
|
||||||
|
parentRefs:
|
||||||
|
- group: gateway.networking.k8s.io
|
||||||
|
kind: Gateway
|
||||||
|
name: traefik-gateway
|
||||||
|
namespace: traefik
|
||||||
|
hostnames:
|
||||||
|
- "shelfmark.alexlebens.net"
|
||||||
|
rules:
|
||||||
|
- backendRefs:
|
||||||
|
- group: ""
|
||||||
|
kind: Service
|
||||||
|
name: shelfmark
|
||||||
|
namespace: shelfmark
|
||||||
|
port: 8084
|
||||||
|
weight: 100
|
||||||
|
matches:
|
||||||
|
- path:
|
||||||
|
type: PathPrefix
|
||||||
|
value: /
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: shelfmark-import-nfs-storage
|
||||||
|
namespace: shelfmark
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: shelfmark-import-nfs-storage
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/part-of: shelfmark
|
||||||
|
spec:
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: nfs-client
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
nfs:
|
||||||
|
path: /volume2/Storage/Books Import
|
||||||
|
server: synologybond.alexlebens.net
|
||||||
|
mountOptions:
|
||||||
|
- vers=4
|
||||||
|
- minorversion=1
|
||||||
|
- noac
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: shelfmark-import-nfs-storage
|
||||||
|
namespace: shelfmark
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: shelfmark-import-nfs-storage
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/part-of: shelfmark
|
||||||
|
spec:
|
||||||
|
volumeName: shelfmark-import-nfs-storage
|
||||||
|
storageClassName: nfs-client
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteMany
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: shelfmark
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: shelfmark
|
||||||
|
helm.sh/chart: shelfmark-4.4.0
|
||||||
|
annotations:
|
||||||
|
helm.sh/resource-policy: keep
|
||||||
|
namespace: shelfmark
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- "ReadWriteOnce"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: "1Gi"
|
||||||
|
storageClassName: "ceph-block"
|
||||||
22
clusters/cl01tl/manifests/shelfmark/Service-shelfmark.yaml
Normal file
22
clusters/cl01tl/manifests/shelfmark/Service-shelfmark.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: shelfmark
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/managed-by: Helm
|
||||||
|
app.kubernetes.io/name: shelfmark
|
||||||
|
app.kubernetes.io/service: shelfmark
|
||||||
|
helm.sh/chart: shelfmark-4.4.0
|
||||||
|
namespace: shelfmark
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 8084
|
||||||
|
targetPort: 8084
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/controller: main
|
||||||
|
app.kubernetes.io/instance: shelfmark
|
||||||
|
app.kubernetes.io/name: shelfmark
|
||||||
Reference in New Issue
Block a user