From a6c093398cff2e0c580c8bf6dc0d77b622d74787 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Mon, 18 Apr 2022 10:09:17 -0400 Subject: [PATCH] wip --- charts/ttrss/.helmignore | 26 ++++++++++ charts/ttrss/Chart.yaml | 27 ++++++++++ charts/ttrss/README.md | 2 + charts/ttrss/templates/NOTES.txt | 1 + charts/ttrss/templates/common.yaml | 5 ++ charts/ttrss/values.yaml | 83 ++++++++++++++++++++++++++++++ 6 files changed, 144 insertions(+) create mode 100644 charts/ttrss/.helmignore create mode 100644 charts/ttrss/Chart.yaml create mode 100644 charts/ttrss/README.md create mode 100644 charts/ttrss/templates/NOTES.txt create mode 100644 charts/ttrss/templates/common.yaml create mode 100644 charts/ttrss/values.yaml diff --git a/charts/ttrss/.helmignore b/charts/ttrss/.helmignore new file mode 100644 index 0000000..4379e2b --- /dev/null +++ b/charts/ttrss/.helmignore @@ -0,0 +1,26 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl diff --git a/charts/ttrss/Chart.yaml b/charts/ttrss/Chart.yaml new file mode 100644 index 0000000..91815b5 --- /dev/null +++ b/charts/ttrss/Chart.yaml @@ -0,0 +1,27 @@ +apiVersion: v2 + +description: Helm chart for ttrss +name: ttrss +type: application +version: 0.0.1 +kubeVersion: ">=1.16.0-0" +keywords: +- ttrss +home: https://github.com/framasoft/ttrss +#sources: +#- https://github.com/filebrowser/filebrowser +maintainers: +- name: Julien Cabillot + email: dockerimages@cabillot.eu + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +#appVersion: "1.16.0" +appVersion: "latest" + +dependencies: +- name: common + repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/" + version: 4.2.0 diff --git a/charts/ttrss/README.md b/charts/ttrss/README.md new file mode 100644 index 0000000..49790b0 --- /dev/null +++ b/charts/ttrss/README.md @@ -0,0 +1,2 @@ +# ttrss-helm + diff --git a/charts/ttrss/templates/NOTES.txt b/charts/ttrss/templates/NOTES.txt new file mode 100644 index 0000000..90f7b65 --- /dev/null +++ b/charts/ttrss/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "common.notes.defaultNotes" . -}} diff --git a/charts/ttrss/templates/common.yaml b/charts/ttrss/templates/common.yaml new file mode 100644 index 0000000..64e027a --- /dev/null +++ b/charts/ttrss/templates/common.yaml @@ -0,0 +1,5 @@ +{{/* Make sure all variables are set properly */}} +{{- include "common.values.setup" . }} + +{{/* Render the templates */}} +{{ include "common.all" . }} diff --git a/charts/ttrss/values.yaml b/charts/ttrss/values.yaml new file mode 100644 index 0000000..cb0988a --- /dev/null +++ b/charts/ttrss/values.yaml @@ -0,0 +1,83 @@ +# +# IMPORTANT NOTE +# +# This chart inherits from our common library chart. You can check the default values/options here: +# https://scm.docker.cabillot.eu/perso/helm-library-common +# + +image: + repository: x86dev/docker-ttrss + tag: "latest" + pullPolicy: Always + +# TODO: + rssbridge + +env: + TZ: America/New_York + TTRSS_DB_NAME: web_ttrss + TTRSS_DB_USER: web_ttrss + TTRSS_DB_PASS: TODO: + TTRSS_DB_TYPE: mysql + TTRSS_DB_PORT: 3306 + TTRSS_DB_PORT_3306_TCP_ADDR: TODO: + TTRSS_DB_PORT_3306_TCP_PORT: 3306 + TTRSS_SELF_URL_PATH: https://rss.cabillot.eu/ + TTRSS_SELF_URL: https://rss.cabillot.eu/ + TTRSS_PROTO: https + TTRSS_URL: rss.cabillot.eu + DB_NAME: web_ttrss + DB_USER: web_ttrss + DB_PASS: + DB_TYPE: mysql + DB_PORT: 3306 + DB_PORT_3306_TCP_ADDR: + DB_PORT_3306_TCP_PORT: 3306 + SELF_URL_PATH: https://rss.cabillot.eu/ + SELF_URL: https://rss.cabillot.eu/ + PROTO: https + URL: rss.cabillot.eu + +service: + main: + ports: + http: + port: 8080 + +ingress: + main: + enabled: false + +automountServiceAccountToken: false + +# Enabled mariadb +# ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb +mariadb: + enabled: false + architecture: standalone + auth: + database: web_ttrss + username: web_ttrss + password: TODO: + rootPassword: TODO: + primary: + persistence: + enabled: false + # storageClass: "" + +# TODO: +persistence: + config: + enabled: false + cache: + enabled: false + mountPath: "/cache" + media: + enabled: false + enabled: true + type: custom + volumeSpec: + nfs: + server: "odroidhc2.local" + path: "/mnt/musique" + readOnly: true + mountPath: "/media"