Compare commits
28 Commits
kubelet-se
...
homepage-0
Author | SHA1 | Date | |
---|---|---|---|
d0255ca5d1 | |||
790ad5b440 | |||
9539635918 | |||
7c61825d5f | |||
c2446ab6e2 | |||
120fbe05e6 | |||
e686771ce3 | |||
a5bd0b724a | |||
35c7223d40 | |||
32bda525a1 | |||
42231a40f4 | |||
76c6016a9e | |||
d8e6ac1d7b | |||
03d0cab454 | |||
b149fbd85e | |||
97528e845d | |||
f04f777ec2 | |||
|
688d6498b0 | ||
7d8c554354 | |||
b31dab5a46 | |||
c485eb9682 | |||
627f2ca6b6 | |||
2b9ea0bcdb | |||
ba0c6fe7d2 | |||
6c11bf51b2 | |||
8ffe5fd408 | |||
773ff53432 | |||
81ab282822 |
84
.github/renovate.json
vendored
84
.github/renovate.json
vendored
@@ -7,11 +7,9 @@
|
|||||||
],
|
],
|
||||||
"timezone": "US/Mountain",
|
"timezone": "US/Mountain",
|
||||||
"schedule": [
|
"schedule": [
|
||||||
"after 10am every weekday",
|
"every weekday"
|
||||||
"before 5pm every weekday"
|
|
||||||
],
|
|
||||||
"labels": [
|
|
||||||
],
|
],
|
||||||
|
"labels": [],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Disables for non major Renovate version",
|
"description": "Disables for non major Renovate version",
|
||||||
@@ -41,34 +39,72 @@
|
|||||||
"automerge": false
|
"automerge": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Generate image updates on Tuesdays",
|
"description": "Label service images",
|
||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
"linuxserver/calibre",
|
"ghcr.io/alex1989hu/kubelet-serving-cert-approver",
|
||||||
"homeassistant/home-assistant",
|
|
||||||
"ghcr.io/gethomepage/homepage",
|
|
||||||
"ghcr.io/cloudnative-pg/postgresql",
|
"ghcr.io/cloudnative-pg/postgresql",
|
||||||
"linuxserver/code-server"
|
"redis/redis-stack-server"
|
||||||
],
|
],
|
||||||
"matchDatasources": [
|
"matchDatasources": [
|
||||||
"docker",
|
"docker"
|
||||||
"gitea-releases",
|
|
||||||
"gitea-tags",
|
|
||||||
"github-releases",
|
|
||||||
"github-tags",
|
|
||||||
"gitlab-packages",
|
|
||||||
"gitlab-releases",
|
|
||||||
"gitlab-tags"
|
|
||||||
],
|
|
||||||
"schedule": [
|
|
||||||
"after 10am on tuesday",
|
|
||||||
"before 5pm on tuesday"
|
|
||||||
],
|
],
|
||||||
"addLabels": [
|
"addLabels": [
|
||||||
"upgrade",
|
"service",
|
||||||
"weekly",
|
|
||||||
"image"
|
"image"
|
||||||
],
|
],
|
||||||
"bumpVersion": "minor",
|
"automerge": false,
|
||||||
|
"minimumReleaseAge": "3 days"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Label service charts",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"elasticsearch",
|
||||||
|
"redis"
|
||||||
|
],
|
||||||
|
"matchDatasources": [
|
||||||
|
"helm"
|
||||||
|
],
|
||||||
|
"addLabels": [
|
||||||
|
"serivce",
|
||||||
|
"chart"
|
||||||
|
],
|
||||||
|
"automerge": false,
|
||||||
|
"minimumReleaseAge": "3 days"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Label application images",
|
||||||
|
"matchPackageNames": [
|
||||||
|
"bbilly1/tubearchivist-jf",
|
||||||
|
"bbilly1/tubearchivist",
|
||||||
|
"freshrss/freshrss",
|
||||||
|
"ghcr.io/gethomepage/homepage",
|
||||||
|
"homeassistant/home-assistant",
|
||||||
|
"linuxserver/calibre",
|
||||||
|
"linuxserver/code-server",
|
||||||
|
"linuxserver/cops",
|
||||||
|
"outlinewiki/outline",
|
||||||
|
"rmcrackan/libation"
|
||||||
|
],
|
||||||
|
"matchDatasources": [
|
||||||
|
"docker"
|
||||||
|
],
|
||||||
|
"addLabels": [
|
||||||
|
"application",
|
||||||
|
"image"
|
||||||
|
],
|
||||||
|
"automerge": false,
|
||||||
|
"minimumReleaseAge": "3 days"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Label application charts",
|
||||||
|
"matchPackageNames": [],
|
||||||
|
"matchDatasources": [
|
||||||
|
"helm"
|
||||||
|
],
|
||||||
|
"addLabels": [
|
||||||
|
"application",
|
||||||
|
"chart"
|
||||||
|
],
|
||||||
"automerge": false,
|
"automerge": false,
|
||||||
"minimumReleaseAge": "3 days"
|
"minimumReleaseAge": "3 days"
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: calibre-server
|
name: calibre-server
|
||||||
version: 0.0.5
|
version: 0.0.6
|
||||||
description: Chart for Calibre content database
|
description: Chart for Calibre content database
|
||||||
keywords:
|
keywords:
|
||||||
- media
|
- media
|
||||||
|
@@ -31,7 +31,7 @@ ingressRoute:
|
|||||||
http:
|
http:
|
||||||
host:
|
host:
|
||||||
authentik:
|
authentik:
|
||||||
outpost: authentik-proxy-outpost
|
outpost:
|
||||||
port: 9000
|
port: 9000
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
|
12
charts/cops/Chart.yaml
Normal file
12
charts/cops/Chart.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: cops
|
||||||
|
version: 0.0.3
|
||||||
|
description: Chart for Calibre OPDS (and HTML) PHP Server
|
||||||
|
keywords:
|
||||||
|
- calibre
|
||||||
|
- OPDS
|
||||||
|
sources:
|
||||||
|
- https://github.com/seblucas/cops
|
||||||
|
maintainers:
|
||||||
|
- name: alexlebens
|
||||||
|
appVersion: 1.1.3
|
22
charts/cops/README.md
Normal file
22
charts/cops/README.md
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
## Introduction
|
||||||
|
|
||||||
|
[Calibre OPDS (and HTML) PHP Server](https://github.com/seblucas/cops)
|
||||||
|
|
||||||
|
COPS's main advantages are :
|
||||||
|
|
||||||
|
- No need for many dependencies.
|
||||||
|
- No need for a lot of CPU or RAM.
|
||||||
|
- Not much code.
|
||||||
|
- Search is available.
|
||||||
|
- It was fun to code.
|
||||||
|
|
||||||
|
This chart bootstraps a [COPS](https://github.com/seblucas/cops) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- Kubernetes
|
||||||
|
- Helm
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
|
||||||
|
See the [values files](values.yaml).
|
82
charts/cops/templates/deployment.yaml
Normal file
82
charts/cops/templates/deployment.yaml
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
replicas: {{ .Values.deployment.replicas }}
|
||||||
|
strategy:
|
||||||
|
type: {{ .Values.deployment.strategy }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
serviceAccountName: {{ .Release.Name }}
|
||||||
|
containers:
|
||||||
|
- name: {{ .Release.Name }}
|
||||||
|
image: "{{ .Values.deployment.image.repository }}:{{ .Values.deployment.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.deployment.image.imagePullPolicy }}
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: {{ .Values.service.http.port }}
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config
|
||||||
|
name: cops-config
|
||||||
|
- mountPath: /books
|
||||||
|
name: cops-books
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.deployment.resources | nindent 12 }}
|
||||||
|
env:
|
||||||
|
{{- range $k,$v := .Values.deployment.env }}
|
||||||
|
- name: {{ $k }}
|
||||||
|
value: {{ $v | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.deployment.envFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 5
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 5
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
startupProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
failureThreshold: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 1
|
||||||
|
volumes:
|
||||||
|
- name: cops-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: cops-config
|
||||||
|
- name: cops-books
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistence.books.claimName }}
|
32
charts/cops/templates/ingress.yaml
Normal file
32
charts/cops/templates/ingress.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{{- if .Values.ingress.enabled }}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml .Values.ingress.annotations | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
ingressClassName: {{ .Values.ingress.className }}
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- {{ .Values.ingress.host }}
|
||||||
|
secretName: {{ .Release.Name }}-secret-tls
|
||||||
|
rules:
|
||||||
|
- host: {{ .Values.ingress.host }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
|
{{- end }}
|
19
charts/cops/templates/persistant-volume-claim.yaml
Normal file
19
charts/cops/templates/persistant-volume-claim.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: cops-config
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: storage
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.persistence.config.storageSize }}
|
||||||
|
storageClassName: {{ .Values.persistence.config.storageClassName }}
|
||||||
|
volumeMode: {{ .Values.persistence.config.volumeMode }}
|
26
charts/cops/templates/pod.yaml
Normal file
26
charts/cops/templates/pod.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}-test-connection"
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
"helm.sh/hook": test-success
|
||||||
|
spec:
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: wget
|
||||||
|
image: busybox
|
||||||
|
command: ['wget']
|
||||||
|
args: ['{{ .Release.Name }}:{{ .Values.service.http.port }}']
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 256Mi
|
11
charts/cops/templates/service-account.yaml
Normal file
11
charts/cops/templates/service-account.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
22
charts/cops/templates/service.yaml
Normal file
22
charts/cops/templates/service.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
externalTrafficPolicy:
|
||||||
|
ports:
|
||||||
|
- port: {{ .Values.service.http.port }}
|
||||||
|
targetPort: http
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
36
charts/cops/values.yaml
Normal file
36
charts/cops/values.yaml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
deployment:
|
||||||
|
replicas: 1
|
||||||
|
strategy: Recreate
|
||||||
|
image:
|
||||||
|
repository: linuxserver/cops
|
||||||
|
tag: 2.3.1-ls185
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
PGID: "1000"
|
||||||
|
PUID: "1000"
|
||||||
|
TZ: UTC
|
||||||
|
envFrom:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 256Mi
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
service:
|
||||||
|
http:
|
||||||
|
port: 80
|
||||||
|
ingress:
|
||||||
|
enabled: false
|
||||||
|
annotations:
|
||||||
|
className:
|
||||||
|
host:
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
storageClassName: default
|
||||||
|
storageSize: 5Gi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
books:
|
||||||
|
claimName:
|
12
charts/freshrss/Chart.yaml
Normal file
12
charts/freshrss/Chart.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: freshrss
|
||||||
|
version: 0.0.3
|
||||||
|
description: Chart for Freshrss
|
||||||
|
keywords:
|
||||||
|
- rss
|
||||||
|
sources:
|
||||||
|
- https://github.com/FreshRSS/FreshRSS
|
||||||
|
maintainers:
|
||||||
|
- name: alexlebens
|
||||||
|
icon: https://avatars.githubusercontent.com/u/9414285?s=48&v=4
|
||||||
|
appVersion: "1.23.1"
|
18
charts/freshrss/README.md
Normal file
18
charts/freshrss/README.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
## Introduction
|
||||||
|
|
||||||
|
[FreshRSS](https://github.com/FreshRSS/FreshRSS)
|
||||||
|
|
||||||
|
FreshRSS is a self-hosted RSS feed aggregator.
|
||||||
|
|
||||||
|
It is lightweight, easy to work with, powerful, and customizable.
|
||||||
|
|
||||||
|
This chart bootstraps a [FreshRSS](https://github.com/FreshRSS/FreshRSS) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- Kubernetes
|
||||||
|
- Helm
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
|
||||||
|
See the [values files](values.yaml).
|
76
charts/freshrss/templates/deployment.yaml
Normal file
76
charts/freshrss/templates/deployment.yaml
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace | quote }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
replicas: {{ .Values.deployment.replicas }}
|
||||||
|
strategy:
|
||||||
|
type: {{ .Values.deployment.strategy }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
serviceAccountName: {{ .Release.Name }}
|
||||||
|
containers:
|
||||||
|
- name: {{ .Release.Name }}
|
||||||
|
image: "{{ .Values.deployment.image.repository }}:{{ .Values.deployment.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.deployment.image.imagePullPolicy }}
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: {{ .Values.service.http.port }}
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- name: {{ .Release.Name }}-config
|
||||||
|
mountPath: /config
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.deployment.resources | nindent 12 }}
|
||||||
|
env:
|
||||||
|
- name: LISTEN
|
||||||
|
value: "0.0.0.0:{{ .Values.service.http.port }}"
|
||||||
|
{{- range $k,$v := .Values.deployment.env }}
|
||||||
|
- name: {{ $k }}
|
||||||
|
value: {{ $v | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.deployment.envFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
startupProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 30
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 5
|
||||||
|
volumes:
|
||||||
|
- name: {{ .Release.Name }}-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Release.Name }}-config
|
32
charts/freshrss/templates/ingress.yaml
Normal file
32
charts/freshrss/templates/ingress.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{{- if .Values.ingress.enabled }}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml .Values.ingress.annotations | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
ingressClassName: {{ .Values.ingress.className }}
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- {{ .Values.ingress.host }}
|
||||||
|
secretName: {{ .Release.Name }}-secret-tls
|
||||||
|
rules:
|
||||||
|
- host: {{ .Values.ingress.host }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
|
{{- end }}
|
19
charts/freshrss/templates/persistant-volume-claim.yaml
Normal file
19
charts/freshrss/templates/persistant-volume-claim.yaml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}-config
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: storage
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.persistence.config.storageSize }}
|
||||||
|
storageClassName: {{ .Values.persistence.config.storageClassName }}
|
||||||
|
volumeMode: {{ .Values.persistence.config.volumeMode }}
|
26
charts/freshrss/templates/pod.yaml
Normal file
26
charts/freshrss/templates/pod.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}-test-connection"
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
"helm.sh/hook": test-success
|
||||||
|
spec:
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: wget
|
||||||
|
image: busybox
|
||||||
|
command: ['wget']
|
||||||
|
args: ['{{ .Release.Name }}:{{ .Values.service.http.port }}']
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 256Mi
|
11
charts/freshrss/templates/service-account.yaml
Normal file
11
charts/freshrss/templates/service-account.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
21
charts/freshrss/templates/service.yaml
Normal file
21
charts/freshrss/templates/service.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: {{ .Values.service.http.port }}
|
||||||
|
targetPort: http
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
33
charts/freshrss/values.yaml
Normal file
33
charts/freshrss/values.yaml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
deployment:
|
||||||
|
replicas: 1
|
||||||
|
strategy: Recreate
|
||||||
|
image:
|
||||||
|
repository: freshrss/freshrss
|
||||||
|
tag: 1.23.1
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
PGID: "568"
|
||||||
|
PUID: "568"
|
||||||
|
TZ: UTC
|
||||||
|
FRESHRSS_ENV: production
|
||||||
|
envFrom:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 256Mi
|
||||||
|
service:
|
||||||
|
http:
|
||||||
|
port: 80
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className:
|
||||||
|
annotations:
|
||||||
|
host:
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
storageClassName: default
|
||||||
|
storageSize: 5Gi
|
||||||
|
volumeMode: Filesystem
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: home-assistant
|
name: home-assistant
|
||||||
version: 0.0.15
|
version: 0.1.1
|
||||||
description: Chart for Home Assistant
|
description: Chart for Home Assistant
|
||||||
keywords:
|
keywords:
|
||||||
- home-automation
|
- home-automation
|
||||||
@@ -9,4 +9,4 @@ sources:
|
|||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
icon: https://avatars.githubusercontent.com/u/13844975?s=200&v=4
|
icon: https://avatars.githubusercontent.com/u/13844975?s=200&v=4
|
||||||
appVersion: v2024.2.5
|
appVersion: v2024.3.0
|
||||||
|
@@ -4,7 +4,7 @@ metadata:
|
|||||||
name: home-assistant
|
name: home-assistant
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
@@ -16,15 +16,15 @@ spec:
|
|||||||
type: {{ .Values.deployment.strategy }}
|
type: {{ .Values.deployment.strategy }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: home-assistant
|
serviceAccountName: {{ .Release.Name }}
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Release.Name }}
|
- name: {{ .Release.Name }}
|
||||||
@@ -95,4 +95,4 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: home-assistant-config
|
- name: home-assistant-config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: home-assistant-config
|
claimName: "{{ .Release.Name }}-config"
|
||||||
|
@@ -2,14 +2,14 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: home-assistant
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
@@ -18,11 +18,11 @@ spec:
|
|||||||
match: "Host(`{{ .Values.ingressRoute.host }}`)"
|
match: "Host(`{{ .Values.ingressRoute.host }}`)"
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: "authentik-{{ .Release.Name }}"
|
- name: "authentik-{{ .Release.Name }}"
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
priority: 10
|
priority: 10
|
||||||
services:
|
services:
|
||||||
- kind: Service
|
- kind: Service
|
||||||
name: home-assistant
|
name: {{ .Release.Name }}
|
||||||
port: {{ .Values.service.http.port }}
|
port: {{ .Values.service.http.port }}
|
||||||
- kind: Rule
|
- kind: Rule
|
||||||
match: "Host(`{{ .Values.ingressRoute.host }}`) && PathPrefix(`/outpost.goauthentik.io/`)"
|
match: "Host(`{{ .Values.ingressRoute.host }}`) && PathPrefix(`/outpost.goauthentik.io/`)"
|
||||||
@@ -30,7 +30,7 @@ spec:
|
|||||||
services:
|
services:
|
||||||
- kind: Service
|
- kind: Service
|
||||||
name: {{ .Values.ingressRoute.authentik.outpost }}
|
name: {{ .Values.ingressRoute.authentik.outpost }}
|
||||||
port: {{ .Values.ingressRoute.authentik.port }}
|
port: {{ .Values.ingressRoute.authentik.port }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -38,23 +38,33 @@ spec:
|
|||||||
apiVersion: traefik.io/v1alpha1
|
apiVersion: traefik.io/v1alpha1
|
||||||
kind: IngressRoute
|
kind: IngressRoute
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant-codeserver
|
name: "{{ .Release.Name }}-codeserver"
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: home-assistant
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- websecure
|
- websecure
|
||||||
routes:
|
routes:
|
||||||
- kind: Rule
|
- kind: Rule
|
||||||
match: "Host(`{{ .Values.codeserver.ingressRoute.host }}`)"
|
match: "Host(`{{ .Values.codeserver.ingressRoute.host }}`)"
|
||||||
|
middlewares:
|
||||||
|
- name: "authentik-{{ .Release.Name }}"
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
priority: 10
|
priority: 10
|
||||||
services:
|
services:
|
||||||
- kind: Service
|
- kind: Service
|
||||||
name: home-assistant-codeserver
|
name: "{{ .Release.Name }}-codeserver"
|
||||||
port: {{ .Values.codeserver.service.http.port }}
|
port: {{ .Values.codeserver.service.http.port }}
|
||||||
|
- kind: Rule
|
||||||
|
match: "Host(`{{ .Values.ingressRoute.host }}`) && PathPrefix(`/outpost.goauthentik.io/`)"
|
||||||
|
priority: 15
|
||||||
|
services:
|
||||||
|
- kind: Service
|
||||||
|
name: {{ .Values.ingressRoute.authentik.outpost }}
|
||||||
|
port: {{ .Values.ingressRoute.authentik.port }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant-config
|
name: "{{ .Release.Name }}-config"
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
|
@@ -2,14 +2,14 @@
|
|||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: PrometheusRule
|
kind: PrometheusRule
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: home-assistant
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
groups:
|
groups:
|
||||||
- name: {{ .Release.Name }}
|
- name: {{ .Release.Name }}
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: home-assistant
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
@@ -2,18 +2,18 @@
|
|||||||
apiVersion: monitoring.coreos.com/v1
|
apiVersion: monitoring.coreos.com/v1
|
||||||
kind: ServiceMonitor
|
kind: ServiceMonitor
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: home-assistant
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: http
|
- port: http
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
|
||||||
---
|
---
|
||||||
@@ -25,10 +25,10 @@ spec:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: home-assistant-codeserver
|
name: "{{ .Release.Name }}-codeserver"
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
@@ -41,6 +41,6 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: codeserver-http
|
name: codeserver-http
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/name: home-assistant
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -22,7 +22,7 @@ ingressRoute:
|
|||||||
enabled: true
|
enabled: true
|
||||||
host:
|
host:
|
||||||
authentik:
|
authentik:
|
||||||
outpost: authentik-proxy-outpost
|
outpost:
|
||||||
port: 9000
|
port: 9000
|
||||||
metrics:
|
metrics:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: homepage
|
name: homepage
|
||||||
version: 0.0.6
|
version: 0.0.8
|
||||||
description: Chart for benphelps homepage
|
description: Chart for benphelps homepage
|
||||||
keywords:
|
keywords:
|
||||||
- dashboard
|
- dashboard
|
||||||
|
@@ -1,18 +1,18 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: homepage
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: homepage
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: homepage
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
roleRef:
|
roleRef:
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: homepage
|
name: {{ .Release.Name }}
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: homepage
|
name: homepage
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: homepage
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: homepage
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: homepage
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
|
@@ -20,7 +20,7 @@ service:
|
|||||||
ingressRoute:
|
ingressRoute:
|
||||||
host:
|
host:
|
||||||
authentik:
|
authentik:
|
||||||
outpost: authentik-proxy-outpost
|
outpost:
|
||||||
port: 9000
|
port: 9000
|
||||||
config:
|
config:
|
||||||
bookmarks:
|
bookmarks:
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: libation
|
name: libation
|
||||||
version: 0.0.4
|
version: 0.0.6
|
||||||
description: Import library from audible
|
description: Import library from audible
|
||||||
keywords:
|
keywords:
|
||||||
- audiobooks
|
- audiobooks
|
||||||
|
@@ -10,7 +10,7 @@ metadata:
|
|||||||
app.kubernetes.io/component: job
|
app.kubernetes.io/component: job
|
||||||
app.kubernetes.io/part-of: libation
|
app.kubernetes.io/part-of: libation
|
||||||
spec:
|
spec:
|
||||||
schedule: {{ .Values.libation.job.schedule }}
|
schedule: {{ .Values.job.schedule }}
|
||||||
successfulJobsHistoryLimit: 3
|
successfulJobsHistoryLimit: 3
|
||||||
failedJobsHistoryLimit: 3
|
failedJobsHistoryLimit: 3
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
@@ -20,8 +20,8 @@ spec:
|
|||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
containers:
|
containers:
|
||||||
- name: libation
|
- name: libation
|
||||||
image: "{{ .Values.libation.image.repository }}:{{ .Values.libation.image.tag }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
imagePullPolicy: {{ .Values.libation.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: SLEEP_TIME
|
- name: SLEEP_TIME
|
||||||
value: "-1"
|
value: "-1"
|
||||||
|
@@ -6,8 +6,8 @@ image:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
config:
|
||||||
storageClassName: nfs-client
|
storageClassName: default
|
||||||
storageSize: 1Gi
|
storageSize: 1Gi
|
||||||
volumeMode: Filesystem
|
volumeMode: Filesystem
|
||||||
books:
|
books:
|
||||||
claimName: libation-nfs-storage
|
claimName:
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: outline
|
name: outline
|
||||||
version: 0.0.1
|
version: 0.0.8
|
||||||
description: Chart for Outline wiki
|
description: Chart for Outline wiki
|
||||||
keywords:
|
keywords:
|
||||||
- wiki
|
- wiki
|
||||||
@@ -10,9 +10,9 @@ sources:
|
|||||||
- https://github.com/bitnami/charts/tree/main/bitnami/redis
|
- https://github.com/bitnami/charts/tree/main/bitnami/redis
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: alexlebens
|
- name: alexlebens
|
||||||
icon: https://avatars.githubusercontent.com/u/1765001?s=48&v=4
|
icon: https://avatars.githubusercontent.com/u/1765001?s=48&v=4
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: redis
|
- name: redis
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 18.x.x
|
version: 18.19.2
|
||||||
appVersion: v0.75.2
|
appVersion: v0.75.2
|
||||||
|
@@ -62,9 +62,15 @@ spec:
|
|||||||
name: "{{ .Values.outline.database.usernameSecret.existingSecretName }}"
|
name: "{{ .Values.outline.database.usernameSecret.existingSecretName }}"
|
||||||
key: "{{ .Values.outline.database.usernameSecret.existingSecretKey }}"
|
key: "{{ .Values.outline.database.usernameSecret.existingSecretKey }}"
|
||||||
- name: POSTGRES_DATABASE_NAME
|
- name: POSTGRES_DATABASE_NAME
|
||||||
value: {{ .Values.outline.database.databaseName }}
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: "{{ .Values.outline.database.databaseName.existingSecretName }}"
|
||||||
|
key: "{{ .Values.outline.database.databaseName.existingSecretKey }}"
|
||||||
- name: POSTGRES_DATABASE_HOST
|
- name: POSTGRES_DATABASE_HOST
|
||||||
value: {{ .Values.outline.database.databaseHost }}
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: "{{ .Values.outline.database.databaseHost.existingSecretName }}"
|
||||||
|
key: "{{ .Values.outline.database.databaseHost.existingSecretKey }}"
|
||||||
- name: DATABASE_URL
|
- name: DATABASE_URL
|
||||||
value: "postgres://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@postgresql-{{ .Release.Name }}-cluster-rw:5432/$(POSTGRES_DATABASE_NAME)"
|
value: "postgres://$(POSTGRES_USERNAME):$(POSTGRES_PASSWORD)@postgresql-{{ .Release.Name }}-cluster-rw:5432/$(POSTGRES_DATABASE_NAME)"
|
||||||
- name: DATABASE_URL_TEST
|
- name: DATABASE_URL_TEST
|
||||||
@@ -91,12 +97,37 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: "{{ .Values.persistence.s3.credentialsSecret }}"
|
name: "{{ .Values.persistence.s3.credentialsSecret }}"
|
||||||
key: AWS_SECRET_ACCESS_KEY
|
key: AWS_SECRET_ACCESS_KEY
|
||||||
|
{{- if .Values.persistence.s3.endpointConfigMap.enabled }}
|
||||||
|
- name: AWS_REGION
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: "{{ .Values.persistence.s3.endpointConfigMap.name }}"
|
||||||
|
key: BUCKET_REGION
|
||||||
|
- name: AWS_S3_UPLOAD_BUCKET_NAME
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: "{{ .Values.persistence.s3.endpointConfigMap.name }}"
|
||||||
|
key: BUCKET_NAME
|
||||||
|
- name: AWS_S3_UPLOAD_BUCKET_HOST
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: "{{ .Values.persistence.s3.endpointConfigMap.name }}"
|
||||||
|
key: BUCKET_HOST
|
||||||
|
- name: AWS_S3_UPLOAD_BUCKET_PORT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: "{{ .Values.persistence.s3.endpointConfigMap.name }}"
|
||||||
|
key: BUCKET_PORT
|
||||||
|
- name: AWS_S3_UPLOAD_BUCKET_URL
|
||||||
|
value: "$(AWS_S3_UPLOAD_BUCKET_HOST):$(AWS_S3_UPLOAD_BUCKET_PORT)|"
|
||||||
|
{{- else }}
|
||||||
- name: AWS_REGION
|
- name: AWS_REGION
|
||||||
value: "{{ .Values.persistence.s3.region }}"
|
value: "{{ .Values.persistence.s3.region }}"
|
||||||
- name: AWS_S3_UPLOAD_BUCKET_NAME
|
- name: AWS_S3_UPLOAD_BUCKET_NAME
|
||||||
value: "{{ .Values.persistence.s3.bucketName }}"
|
value: "{{ .Values.persistence.s3.bucketName }}"
|
||||||
- name: AWS_S3_UPLOAD_BUCKET_URL
|
- name: AWS_S3_UPLOAD_BUCKET_URL
|
||||||
value: "{{ .Values.persistence.s3.endpoint }}"
|
value: "{{ .Values.persistence.s3.endpoint }}"
|
||||||
|
{{- end }}
|
||||||
- name: AWS_S3_FORCE_PATH_STYLE
|
- name: AWS_S3_FORCE_PATH_STYLE
|
||||||
value: "{{ .Values.persistence.s3.forcePathStyle }}"
|
value: "{{ .Values.persistence.s3.forcePathStyle }}"
|
||||||
- name: AWS_S3_ACL
|
- name: AWS_S3_ACL
|
||||||
@@ -116,7 +147,7 @@ spec:
|
|||||||
value: "{{ .Values.outline.optional.enableUpdates }}"
|
value: "{{ .Values.outline.optional.enableUpdates }}"
|
||||||
- name: WEB_CONCURRENCY
|
- name: WEB_CONCURRENCY
|
||||||
value: "{{ .Values.outline.optional.webConcurrency }}"
|
value: "{{ .Values.outline.optional.webConcurrency }}"
|
||||||
- name: MAXIMUM_IMPORT_SIZE
|
- name: FILE_STORAGE_IMPORT_MAX_SIZE
|
||||||
value: "{{ .Values.outline.optional.maximumImportSize }}"
|
value: "{{ .Values.outline.optional.maximumImportSize }}"
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "{{ .Values.outline.optional.logLevel }}"
|
value: "{{ .Values.outline.optional.logLevel }}"
|
||||||
|
@@ -2,14 +2,14 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: outline-web
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: outline-web
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: outline
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
annotations:
|
annotations:
|
||||||
{{- toYaml .Values.ingress.annotations | nindent 4 }}
|
{{- toYaml .Values.ingress.annotations | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- {{ .Values.ingress.host }}
|
- {{ .Values.ingress.host }}
|
||||||
secretName: {{ .Release.Name }}-tls-secret
|
secretName: {{ .Release.Name }}-secret-tls
|
||||||
rules:
|
rules:
|
||||||
- host: {{ .Values.ingress.host }}
|
- host: {{ .Values.ingress.host }}
|
||||||
http:
|
http:
|
||||||
@@ -26,7 +26,7 @@ spec:
|
|||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: outline-web
|
name: {{ .Release.Name }}
|
||||||
port:
|
port:
|
||||||
name: web
|
name: web
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -1,14 +1,14 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: outline-web
|
name: {{ .Release.Name }}
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: outline-web
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
app.kubernetes.io/part-of: outline
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
ports:
|
ports:
|
||||||
@@ -17,5 +17,5 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: web
|
name: web
|
||||||
selector:
|
selector:
|
||||||
app.kubernetes.io/name: outline-web
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
@@ -17,15 +17,18 @@ service:
|
|||||||
port: 3000
|
port: 3000
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: traefik
|
className:
|
||||||
annotations:
|
annotations:
|
||||||
host: outline.alexlebens.net
|
host:
|
||||||
persistence:
|
persistence:
|
||||||
type: s3
|
type: s3
|
||||||
s3:
|
s3:
|
||||||
credentialsSecret: outline-s3-secret
|
credentialsSecret:
|
||||||
region: us-east-1
|
endpointConfigMap:
|
||||||
bucketName: outline
|
enabled: false
|
||||||
|
name:
|
||||||
|
region:
|
||||||
|
bucketName:
|
||||||
endpoint:
|
endpoint:
|
||||||
uploadMaxSize: "26214400"
|
uploadMaxSize: "26214400"
|
||||||
forcePathStyle: false
|
forcePathStyle: false
|
||||||
@@ -41,7 +44,7 @@ redis:
|
|||||||
enabled: false
|
enabled: false
|
||||||
outline:
|
outline:
|
||||||
nodeEnv: production
|
nodeEnv: production
|
||||||
url: https://outline.alexlebens.net
|
url:
|
||||||
secretKey:
|
secretKey:
|
||||||
existingSecretName: outline-key-secret
|
existingSecretName: outline-key-secret
|
||||||
existingSecretKey: secret-key
|
existingSecretKey: secret-key
|
||||||
@@ -50,13 +53,17 @@ outline:
|
|||||||
existingSecretKey: utils-key
|
existingSecretKey: utils-key
|
||||||
database:
|
database:
|
||||||
passwordSecret:
|
passwordSecret:
|
||||||
existingSecretName: postgresql-outline-cluster-app
|
existingSecretName:
|
||||||
existingSecretKey: password
|
existingSecretKey:
|
||||||
usernameSecret:
|
usernameSecret:
|
||||||
existingSecretName: postgresql-outline-cluster-app
|
existingSecretName:
|
||||||
existingSecretKey: username
|
existingSecretKey:
|
||||||
databaseName: app
|
databaseName:
|
||||||
databaseHost: postgresql-outline-cluster-rw
|
existingSecretName:
|
||||||
|
existingSecretKey:
|
||||||
|
databaseHost:
|
||||||
|
existingSecretName:
|
||||||
|
existingSecretKey:
|
||||||
connectionPoolMin: ""
|
connectionPoolMin: ""
|
||||||
connectionPoolMax: "20"
|
connectionPoolMax: "20"
|
||||||
sslMode: disable
|
sslMode: disable
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: postgres-cluster
|
name: postgres-cluster
|
||||||
version: 0.2.1
|
version: 0.2.3
|
||||||
description: Chart for cloudnative-pg cluster
|
description: Chart for cloudnative-pg cluster
|
||||||
keywords:
|
keywords:
|
||||||
- database
|
- database
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[CloudNative PG](https://github.com/cloudnative-pg/cloudnative-pg)
|
[CloudNative PG](https://github.com/cloudnative-pg/cloudnative-pg)
|
||||||
|
|
||||||
CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication.
|
CloudNativePG is the Kubernetes operator that covers the full lifecycle of a highly available PostgreSQL database cluster with a primary/standby architecture, using native streaming replication.
|
||||||
|
|
||||||
This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
This chart bootstraps a [CNPG](https://github.com/cloudnative-pg/cloudnative-pg) cluster on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||||
|
|
||||||
|
@@ -9,7 +9,6 @@ metadata:
|
|||||||
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
app.kubernetes.io/component: database
|
app.kubernetes.io/component: database
|
||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
app.kubernetes.io/managed-by: helm
|
|
||||||
spec:
|
spec:
|
||||||
imageName: "{{ .Values.cluster.image.repository }}:{{ .Values.cluster.image.tag }}"
|
imageName: "{{ .Values.cluster.image.repository }}:{{ .Values.cluster.image.tag }}"
|
||||||
instances: {{ .Values.cluster.instances }}
|
instances: {{ .Values.cluster.instances }}
|
||||||
@@ -39,7 +38,7 @@ spec:
|
|||||||
{{- toYaml .Values.bootstrap.initdb | nindent 6 }}
|
{{- toYaml .Values.bootstrap.initdb | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Values.backup.recoveryEnabled }}
|
{{- if .Values.bootstrap.recoveryEnabled }}
|
||||||
bootstrap:
|
bootstrap:
|
||||||
recovery:
|
recovery:
|
||||||
source: "postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.bootstrap.recoveryIndex }}"
|
source: "postgresql-{{ .Release.Name }}-cluster-backup-index-{{ .Values.bootstrap.recoveryIndex }}"
|
||||||
|
@@ -19,16 +19,16 @@ cluster:
|
|||||||
hugepages-2Mi: 512Mi
|
hugepages-2Mi: 512Mi
|
||||||
storage:
|
storage:
|
||||||
data:
|
data:
|
||||||
storageClass: ceph-block
|
storageClass: default
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
wal:
|
wal:
|
||||||
storageClass: ceph-block
|
storageClass: default
|
||||||
size: 2Gi
|
size: 2Gi
|
||||||
bootstrap:
|
bootstrap:
|
||||||
recoveryEnabled: false
|
recoveryEnabled: false
|
||||||
recoveryIndex: 1
|
recoveryIndex: 1
|
||||||
endpointURL: https://nyc3.digitaloceanspaces.com
|
endpointURL:
|
||||||
bucket: alexlebens.net
|
bucket:
|
||||||
initdbEnabled: false
|
initdbEnabled: false
|
||||||
initdb:
|
initdb:
|
||||||
database: app
|
database: app
|
||||||
@@ -38,5 +38,5 @@ backup:
|
|||||||
schedule: "0 0 0 * * *"
|
schedule: "0 0 0 * * *"
|
||||||
retentionPolicy: 14d
|
retentionPolicy: 14d
|
||||||
backupIndex: 1
|
backupIndex: 1
|
||||||
endpointURL: https://nyc3.digitaloceanspaces.com
|
endpointURL:
|
||||||
bucket: alexlebens.net
|
bucket:
|
||||||
|
14
charts/tubearchivist-to-jellyfin/Chart.yaml
Normal file
14
charts/tubearchivist-to-jellyfin/Chart.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: tubearchivist-to-jellyfin
|
||||||
|
version: 0.0.3
|
||||||
|
description: Import library from tubearchivist to jellyfin
|
||||||
|
keywords:
|
||||||
|
- tubearchivist
|
||||||
|
- jellyfin
|
||||||
|
- job
|
||||||
|
sources:
|
||||||
|
- https://github.com/tubearchivist/tubearchivist-jf
|
||||||
|
maintainers:
|
||||||
|
- name: alexlebens
|
||||||
|
icon: https://avatars.githubusercontent.com/u/102734415?s=48&v=4
|
||||||
|
appVersion: "v0.1.2"
|
18
charts/tubearchivist-to-jellyfin/README.md
Normal file
18
charts/tubearchivist-to-jellyfin/README.md
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
## Introduction
|
||||||
|
|
||||||
|
[Tube Archivist Jellyfin Integration](https://github.com/tubearchivist/tubearchivist-jf)
|
||||||
|
|
||||||
|
Import your Tube Archivist media folder into Jellyfin
|
||||||
|
|
||||||
|
|
||||||
|
This chart bootstraps a [Tube Archivist Jellyfin Integration](https://github.com/tubearchivist/tubearchivist-jf) CronJob on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- Kubernetes
|
||||||
|
- Helm
|
||||||
|
- CronJob
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
|
||||||
|
See the [values files](values.yaml).
|
37
charts/tubearchivist-to-jellyfin/templates/job.yaml
Normal file
37
charts/tubearchivist-to-jellyfin/templates/job.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
apiVersion: batch/v1
|
||||||
|
kind: CronJob
|
||||||
|
metadata:
|
||||||
|
name: tubearchivist-to-jellyfin
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: tubearchivist-to-jellyfin
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: job
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
schedule: {{ .Values.job.schedule }}
|
||||||
|
successfulJobsHistoryLimit: 3
|
||||||
|
failedJobsHistoryLimit: 3
|
||||||
|
jobTemplate:
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
restartPolicy: Never
|
||||||
|
containers:
|
||||||
|
- name: tubearchivist-to-jellyfin
|
||||||
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
|
command: ["python"]
|
||||||
|
args: ["main.py"]
|
||||||
|
{{- with .Values.envFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 16 }}
|
||||||
|
{{- end }}
|
||||||
|
volumeMounts:
|
||||||
|
- name: tubearchivist-youtube
|
||||||
|
mountPath: /youtube
|
||||||
|
volumes:
|
||||||
|
- name: tubearchivist-youtube
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistence.youtube.claimName }}
|
10
charts/tubearchivist-to-jellyfin/values.yaml
Normal file
10
charts/tubearchivist-to-jellyfin/values.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
job:
|
||||||
|
schedule: "0 * * * *"
|
||||||
|
image:
|
||||||
|
repository: bbilly1/tubearchivist-jf
|
||||||
|
tag: v0.1.2
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
persistence:
|
||||||
|
youtube:
|
||||||
|
claimName:
|
15
charts/tubearchivist/Chart.yaml
Normal file
15
charts/tubearchivist/Chart.yaml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: v2
|
||||||
|
name: tubearchivist
|
||||||
|
version: 0.0.5
|
||||||
|
sources:
|
||||||
|
- https://github.com/tubearchivist/tubearchivist
|
||||||
|
- https://github.com/bitnami/charts/tree/main/bitnami/redis
|
||||||
|
- https://github.com/bitnami/charts/tree/main/bitnami/elasticsearch
|
||||||
|
dependencies:
|
||||||
|
- name: redis
|
||||||
|
version: 18.19.2
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
- name: elasticsearch
|
||||||
|
version: 19.21.2
|
||||||
|
repository: https://charts.bitnami.com/bitnami
|
||||||
|
appVersion: v0.4.6
|
16
charts/tubearchivist/README.md
Normal file
16
charts/tubearchivist/README.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
## Introduction
|
||||||
|
|
||||||
|
[Tube Archivist](https://github.com/tubearchivist/tubearchivist)
|
||||||
|
|
||||||
|
Your self hosted YouTube media server
|
||||||
|
|
||||||
|
This chart bootstraps an [Outline](https://github.com/tubearchivist/tubearchivist) deployment on a [Kubernetes](https://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- Kubernetes
|
||||||
|
- Helm
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
|
||||||
|
See the [values files](values.yaml).
|
82
charts/tubearchivist/templates/deployment.yaml
Normal file
82
charts/tubearchivist/templates/deployment.yaml
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
replicas: {{ .Values.deployment.replicas }}
|
||||||
|
strategy:
|
||||||
|
type: {{ .Values.deployment.strategy }}
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
serviceAccountName: {{ .Release.Name }}
|
||||||
|
automountServiceAccountToken: true
|
||||||
|
containers:
|
||||||
|
- name: {{ .Release.Name }}
|
||||||
|
image: "{{ .Values.deployment.image.repository }}:{{ .Values.deployment.image.tag }}"
|
||||||
|
imagePullPolicy: {{ .Values.deployment.image.imagePullPolicy }}
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: {{ .Values.service.http.port }}
|
||||||
|
protocol: TCP
|
||||||
|
env:
|
||||||
|
- name: TA_PORT
|
||||||
|
value: {{ .Values.service.http.port | quote }}
|
||||||
|
{{- range $k,$v := .Values.deployment.env }}
|
||||||
|
- name: {{ $k }}
|
||||||
|
value: {{ $v | quote }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.deployment.envFrom }}
|
||||||
|
envFrom:
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
|
resources:
|
||||||
|
{{- toYaml .Values.deployment.resources | nindent 12 }}
|
||||||
|
volumeMounts:
|
||||||
|
- name: "{{ .Release.Name }}-cache"
|
||||||
|
mountPath: /cache
|
||||||
|
- name: "{{ .Release.Name }}-youtube"
|
||||||
|
mountPath: /youtube
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
startupProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: {{ .Values.service.http.port }}
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 30
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 5
|
||||||
|
volumes:
|
||||||
|
- name: "{{ .Release.Name }}-cache"
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: "{{ .Release.Name }}-cache"
|
||||||
|
- name: "{{ .Release.Name }}-youtube"
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: {{ .Values.persistence.youtube.claimName }}
|
32
charts/tubearchivist/templates/ingress.yaml
Normal file
32
charts/tubearchivist/templates/ingress.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
{{- if .Values.ingress.enabled }}
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
annotations:
|
||||||
|
{{- toYaml .Values.ingress.annotations | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
ingressClassName: {{ .Values.ingress.className }}
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- {{ .Values.ingress.host }}
|
||||||
|
secretName: {{ .Release.Name }}-secret-tls
|
||||||
|
rules:
|
||||||
|
- host: {{ .Values.ingress.host }}
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
|
{{- end }}
|
21
charts/tubearchivist/templates/persistent-volume-claim.yaml
Normal file
21
charts/tubearchivist/templates/persistent-volume-claim.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{{- if .Values.persistence.cache.enabled }}
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: "{{ .Release.Name }}-cache"
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: storage
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- {{ .Values.persistence.cache.accessMode }}
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: {{ .Values.persistence.cache.storageSize }}
|
||||||
|
storageClassName: {{ .Values.persistence.cache.storageClassName }}
|
||||||
|
volumeMode: {{ .Values.persistence.cache.volumeMode }}
|
||||||
|
{{- end }}
|
11
charts/tubearchivist/templates/service-account.yaml
Normal file
11
charts/tubearchivist/templates/service-account.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ServiceAccount
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
22
charts/tubearchivist/templates/service.yaml
Normal file
22
charts/tubearchivist/templates/service.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ .Release.Name }}
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
externalTrafficPolicy:
|
||||||
|
ports:
|
||||||
|
- port: {{ .Values.service.http.port }}
|
||||||
|
targetPort: http
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
75
charts/tubearchivist/values.yaml
Normal file
75
charts/tubearchivist/values.yaml
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
deployment:
|
||||||
|
replicas: 1
|
||||||
|
strategy: Recreate
|
||||||
|
image:
|
||||||
|
repository: bbilly1/tubearchivist
|
||||||
|
tag: v0.4.6
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
TZ: UTC
|
||||||
|
envFrom:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 512Mi
|
||||||
|
cpu: 50m
|
||||||
|
limits:
|
||||||
|
memory: 1Gi
|
||||||
|
cpu: 1000m
|
||||||
|
service:
|
||||||
|
http:
|
||||||
|
port: 8000
|
||||||
|
ingress:
|
||||||
|
enabled: false
|
||||||
|
className:
|
||||||
|
annotations:
|
||||||
|
host:
|
||||||
|
persistence:
|
||||||
|
cache:
|
||||||
|
enabled: false
|
||||||
|
storageClassName: default
|
||||||
|
storageSize: 5Gi
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
volumeMode: Filesystem
|
||||||
|
youtube:
|
||||||
|
claimName:
|
||||||
|
redis:
|
||||||
|
image:
|
||||||
|
repository: redis/redis-stack-server
|
||||||
|
tag: 7.2.0-v9
|
||||||
|
architecture: standalone
|
||||||
|
auth:
|
||||||
|
enabled: false
|
||||||
|
commonConfiguration: |-
|
||||||
|
# Enable AOF https://redis.io/topics/persistence#append-only-file
|
||||||
|
appendonly yes
|
||||||
|
# Disable RDB persistence, AOF persistence already enabled.
|
||||||
|
save ""
|
||||||
|
# Enable Redis Json module
|
||||||
|
loadmodule /opt/redis-stack/lib/rejson.so
|
||||||
|
elasticsearch:
|
||||||
|
global:
|
||||||
|
storageClass: default
|
||||||
|
extraEnvVars:
|
||||||
|
- name: "discovery.type"
|
||||||
|
value: "single-node"
|
||||||
|
- name: xpack.security.enabled
|
||||||
|
value: "true"
|
||||||
|
extraEnvVarsSecret:
|
||||||
|
extraConfig:
|
||||||
|
path:
|
||||||
|
repo: /usr/share/elasticsearch/data/snapshot
|
||||||
|
extraVolumes:
|
||||||
|
extraVolumeMounts:
|
||||||
|
- name: snapshot
|
||||||
|
mountPath: /usr/share/elasticsearch/data/snapshot
|
||||||
|
snapshotRepoPath: /usr/share/elasticsearch/data/snapshot
|
||||||
|
master:
|
||||||
|
masterOnly: false
|
||||||
|
replicaCount: 1
|
||||||
|
data:
|
||||||
|
replicaCount: 0
|
||||||
|
coordinating:
|
||||||
|
replicaCount: 0
|
||||||
|
ingest:
|
||||||
|
enabled: false
|
||||||
|
replicaCount: 0
|
Reference in New Issue
Block a user