Compare commits
3 Commits
postgres-c
...
libation-0
Author | SHA1 | Date | |
---|---|---|---|
f08ae85e5c | |||
4988c82be2 | |||
f4c15191dc |
13
charts/libation/Chart.yaml
Normal file
13
charts/libation/Chart.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: libation
|
||||||
|
version: 0.0.3
|
||||||
|
description: Import library from audible
|
||||||
|
keywords:
|
||||||
|
- audiobooks
|
||||||
|
- job
|
||||||
|
sources:
|
||||||
|
- https://github.com/rmcrackan/Libation
|
||||||
|
maintainers:
|
||||||
|
- name: alexlebens
|
||||||
|
icon: https://getlibation.com/images/libation-logo.png
|
||||||
|
appVersion: "11.1.0"
|
39
charts/libation/templates/job.yaml
Normal file
39
charts/libation/templates/job.yaml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
apiVersion: batch/v1
|
||||||
|
kind: CronJob
|
||||||
|
metadata:
|
||||||
|
name: libation
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: libation
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: job
|
||||||
|
app.kubernetes.io/part-of: libation
|
||||||
|
spec:
|
||||||
|
schedule: {{ .Values.libation.job.schedule }}
|
||||||
|
successfulJobsHistoryLimit: 3
|
||||||
|
failedJobsHistoryLimit: 3
|
||||||
|
jobTemplate:
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: libation
|
||||||
|
image: "{{ .Values.libation.image.repository }}:{{ .Values.libation.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.libation.image.pullPolicy }}
|
||||||
|
env:
|
||||||
|
- name: SLEEP_TIME
|
||||||
|
value: "-1"
|
||||||
|
volumeMounts:
|
||||||
|
- name: libation-config
|
||||||
|
mountPath: /config
|
||||||
|
- name: libation-books
|
||||||
|
mountPath: /data
|
||||||
|
volumes:
|
||||||
|
- name: libation-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: libation-config
|
||||||
|
- name: libation-books
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistence.books.claimName }}
|
19
charts/libation/templates/persistent-volume-claim.yaml
Normal file
19
charts/libation/templates/persistent-volume-claim.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: libation-config
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: libation
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: storage
|
||||||
|
app.kubernetes.io/part-of: libation
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.persistence.config.storageSize }}
|
||||||
|
storageClassName: {{ .Values.persistence.config.storageClassName }}
|
||||||
|
volumeMode: {{ .Values.persistence.config.volumeMode }}
|
13
charts/libation/values.yaml
Normal file
13
charts/libation/values.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
job:
|
||||||
|
schedule: "0 * * * *"
|
||||||
|
image:
|
||||||
|
repository: rmcrackan/libation
|
||||||
|
tag: "11.1.0"
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
storageClassName: nfs-client
|
||||||
|
storageSize: 1Gi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
books:
|
||||||
|
claimName: libation-nfs-storage
|
Reference in New Issue
Block a user