Compare commits
No commits in common. "master" and "feat/init" have entirely different histories.
@ -1,54 +0,0 @@
|
|||||||
#---
|
|
||||||
#apiVersion: apps/v1
|
|
||||||
#kind: Deployment
|
|
||||||
#metadata:
|
|
||||||
# # TODO: add rssbridge
|
|
||||||
# name: {{ include "common.names.fullname" . }}
|
|
||||||
# labels:
|
|
||||||
# {{- include "common.labels" . | nindent 4 }}
|
|
||||||
# {{- with .Values.controller.labels }}
|
|
||||||
# {{- toYaml . | nindent 4 }}
|
|
||||||
# {{- end }}
|
|
||||||
# {{- with .Values.controller.annotations }}
|
|
||||||
# annotations:
|
|
||||||
# {{- toYaml . | nindent 4 }}
|
|
||||||
# {{- end }}
|
|
||||||
#spec:
|
|
||||||
# revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
|
|
||||||
# replicas: {{ .Values.controller.replicas }}
|
|
||||||
# {{- $strategy := default "Recreate" .Values.controller.strategy }}
|
|
||||||
# {{- if and (ne $strategy "Recreate") (ne $strategy "RollingUpdate") }}
|
|
||||||
# {{- fail (printf "Not a valid strategy type for Deployment (%s)" $strategy) }}
|
|
||||||
# {{- end }}
|
|
||||||
# strategy:
|
|
||||||
# type: {{ $strategy }}
|
|
||||||
# {{- with .Values.controller.rollingUpdate }}
|
|
||||||
# {{- if and (eq $strategy "RollingUpdate") (or .surge .unavailable) }}
|
|
||||||
# rollingUpdate:
|
|
||||||
# {{- with .unavailable }}
|
|
||||||
# maxUnavailable: {{ . }}
|
|
||||||
# {{- end }}
|
|
||||||
# {{- with .surge }}
|
|
||||||
# maxSurge: {{ . }}
|
|
||||||
# {{- end }}
|
|
||||||
# {{- end }}
|
|
||||||
# {{- end }}
|
|
||||||
# selector:
|
|
||||||
# matchLabels:
|
|
||||||
# # TODO: add rssbridge
|
|
||||||
# {{- include "common.labels.selectorLabels" . | nindent 6 }}
|
|
||||||
# template:
|
|
||||||
# metadata:
|
|
||||||
# {{- with .Values.podAnnotations }}
|
|
||||||
# annotations:
|
|
||||||
# {{- toYaml . | nindent 8 }}
|
|
||||||
# {{- end }}
|
|
||||||
# labels:
|
|
||||||
# # TODO: add rssbridge
|
|
||||||
# {{- include "common.labels.selectorLabels" . | nindent 8 }}
|
|
||||||
# {{- with .Values.podLabels }}
|
|
||||||
# {{- toYaml . | nindent 8 }}
|
|
||||||
# {{- end }}
|
|
||||||
# spec:
|
|
||||||
# # TODO: add rssbridge
|
|
||||||
#
|
|
||||||
@ -3,7 +3,7 @@ apiVersion: v2
|
|||||||
description: Helm chart for ttrss
|
description: Helm chart for ttrss
|
||||||
name: ttrss
|
name: ttrss
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.19
|
version: 0.0.1
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- ttrss
|
- ttrss
|
||||||
@ -25,6 +25,3 @@ dependencies:
|
|||||||
- name: common
|
- name: common
|
||||||
repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/"
|
repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/"
|
||||||
version: 4.2.0
|
version: 4.2.0
|
||||||
- name: mariadb
|
|
||||||
repository: "https://charts.bitnami.com/bitnami"
|
|
||||||
version: 12.2.5
|
|
||||||
|
|||||||
@ -1,37 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: pvc-rss-data
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: 1000Mi
|
|
||||||
hostPath:
|
|
||||||
path: /data/volume-rss-data
|
|
||||||
type: DirectoryOrCreate
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
persistentVolumeReclaimPolicy: Retain
|
|
||||||
storageClassName: local-path
|
|
||||||
volumeMode: Filesystem
|
|
||||||
nodeAffinity:
|
|
||||||
required:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: kubernetes.io/hostname
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- opti
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: rss-data
|
|
||||||
namespace: rsscabilloteu
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1000Mi
|
|
||||||
storageClassName: local-path
|
|
||||||
volumeName: pvc-rss-data
|
|
||||||
@ -1,46 +0,0 @@
|
|||||||
{{- include "common.values.setup" . }}
|
|
||||||
---
|
|
||||||
apiVersion: "batch/v1"
|
|
||||||
kind: "CronJob"
|
|
||||||
metadata:
|
|
||||||
name: {{ include "common.names.fullname" . }}
|
|
||||||
labels:
|
|
||||||
{{- include "common.labels" . | nindent 4 }}
|
|
||||||
{{- with .Values.controller.labels }}
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.controller.annotations }}
|
|
||||||
annotations:
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
schedule: {{ .Values.cronjob.schedule }}
|
|
||||||
concurrencyPolicy: {{ .Values.cronjob.concurrencyPolicy }}
|
|
||||||
successfulJobsHistoryLimit: {{ .Values.cronjob.successfulJobsHistoryLimit }}
|
|
||||||
failedJobsHistoryLimit: {{ .Values.cronjob.failedJobsHistoryLimit }}
|
|
||||||
jobTemplate:
|
|
||||||
spec:
|
|
||||||
template:
|
|
||||||
spec:
|
|
||||||
restartPolicy: Never
|
|
||||||
backoffLimit: 0
|
|
||||||
automountServiceAccountToken: false
|
|
||||||
containers:
|
|
||||||
- name: "mydl-mongo-dump"
|
|
||||||
image: "docker.io/library/mariadb:10.2"
|
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
|
||||||
command : ["/bin/sh", "-c"]
|
|
||||||
args: [ "echo toto" ]
|
|
||||||
# TODO: volumemount avec le pvc deja cree ?
|
|
||||||
# volumeMounts:
|
|
||||||
# - mountPath: "/dump"
|
|
||||||
# name: "mydl-mongo-dump"
|
|
||||||
# TODO: surement des envs ?
|
|
||||||
# env:
|
|
||||||
# - name: "MONGO_INITDB_ROOT_USERNAME"
|
|
||||||
# value: "toto"
|
|
||||||
# TODO: volumemount avec le pvc deja cree ?
|
|
||||||
# volumes:
|
|
||||||
# - name: "mydl-mongo-dump"
|
|
||||||
# persistentVolumeClaim:
|
|
||||||
# claimName: "mydl-mongo-dump"
|
|
||||||
@ -16,10 +16,10 @@ env:
|
|||||||
TZ: America/New_York
|
TZ: America/New_York
|
||||||
TTRSS_DB_NAME: web_ttrss
|
TTRSS_DB_NAME: web_ttrss
|
||||||
TTRSS_DB_USER: web_ttrss
|
TTRSS_DB_USER: web_ttrss
|
||||||
TTRSS_DB_PASS: TODO
|
TTRSS_DB_PASS: TODO:
|
||||||
TTRSS_DB_TYPE: mysql
|
TTRSS_DB_TYPE: mysql
|
||||||
TTRSS_DB_PORT: 3306
|
TTRSS_DB_PORT: 3306
|
||||||
TTRSS_DB_PORT_3306_TCP_ADDR: TODO
|
TTRSS_DB_PORT_3306_TCP_ADDR: TODO:
|
||||||
TTRSS_DB_PORT_3306_TCP_PORT: 3306
|
TTRSS_DB_PORT_3306_TCP_PORT: 3306
|
||||||
TTRSS_SELF_URL_PATH: https://rss.opti.cabillot.eu/
|
TTRSS_SELF_URL_PATH: https://rss.opti.cabillot.eu/
|
||||||
TTRSS_SELF_URL: https://rss.opti.cabillot.eu/
|
TTRSS_SELF_URL: https://rss.opti.cabillot.eu/
|
||||||
@ -50,26 +50,19 @@ ingress:
|
|||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
|
|
||||||
# Enabled mariadb
|
# Enabled mariadb
|
||||||
# ... for more options see https://github.com/bitnami/charts/tree/main/bitnami/mariadb
|
# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb
|
||||||
mariadb:
|
mariadb:
|
||||||
enabled: true
|
enabled: false
|
||||||
architecture: standalone
|
architecture: standalone
|
||||||
auth:
|
auth:
|
||||||
database: web_ttrss
|
database: web_ttrss
|
||||||
username: web_ttrss
|
username: web_ttrss
|
||||||
password: TODO
|
password: TODO:
|
||||||
rootPassword: TODO
|
rootPassword: TODO:
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
existingClaim: "rss-data"
|
# storageClass: ""
|
||||||
storageClass: "local-path"
|
|
||||||
volumePermissions:
|
|
||||||
enabled: true
|
|
||||||
metrics:
|
|
||||||
enabled: true
|
|
||||||
serviceMonitor:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
persistence:
|
persistence:
|
||||||
@ -88,9 +81,3 @@ persistence:
|
|||||||
path: "/mnt/musique"
|
path: "/mnt/musique"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
mountPath: "/media"
|
mountPath: "/media"
|
||||||
|
|
||||||
cronjob:
|
|
||||||
schedule: "29 13 * * *"
|
|
||||||
concurrencyPolicy: "Forbid"
|
|
||||||
successfulJobsHistoryLimit: 3
|
|
||||||
failedJobsHistoryLimit: 5
|
|
||||||
Loading…
x
Reference in New Issue
Block a user